Clarify "nova scrub" help text
I came across the "nova scrub" command today. Someone was reporting that it did not delete everything they expected it to. It only deletes networks and security groups associated with the project, so update the help text to make that more clear. Change-Id: Id769018787cc73d52ab5fc93196e69bc0ec785ea
This commit is contained in:
parent
d6889adb45
commit
e82b46bb93
@ -771,7 +771,7 @@ def do_flavor_access_remove(cs, args):
|
||||
@utils.arg('project_id', metavar='<project_id>',
|
||||
help=_('The ID of the project.'))
|
||||
def do_scrub(cs, args):
|
||||
"""Delete data associated with the project."""
|
||||
"""Delete networks and security groups associated with a project."""
|
||||
networks_list = cs.networks.list()
|
||||
networks_list = [network for network in networks_list
|
||||
if getattr(network, 'project_id', '') == args.project_id]
|
||||
|
@ -613,7 +613,7 @@ def do_flavor_access_remove(cs, args):
|
||||
@utils.arg('project_id', metavar='<project_id>',
|
||||
help='The ID of the project.')
|
||||
def do_scrub(cs, args):
|
||||
"""Delete data associated with the project."""
|
||||
"""Delete networks and security groups associated with a project."""
|
||||
networks_list = cs.networks.list()
|
||||
networks_list = [network for network in networks_list
|
||||
if getattr(network, 'project_id', '') == args.project_id]
|
||||
|
Loading…
x
Reference in New Issue
Block a user