Extend project delete command description
"openstack project delete" command doesn't try to figure out if other services are using specified project somehow before trying to delete it. This patch extends command description to ensure that this is clearly communicated to users. Related-bug: #2118900 Change-Id: I3ae0b2a8f04d4f791cab46ccd89f400549d24ecd Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
This commit is contained in:
@@ -105,7 +105,14 @@ class CreateProject(command.ShowOne):
|
||||
|
||||
|
||||
class DeleteProject(command.Command):
|
||||
_description = _("Delete project(s)")
|
||||
_description = _(
|
||||
"Delete project(s). This command will remove specified "
|
||||
"existing project(s) if an active user is authorized to do "
|
||||
"this. If there are resources managed by other services "
|
||||
"(for example, Nova, Neutron, Cinder) associated with "
|
||||
"specified project(s), delete operation will proceed "
|
||||
"regardless."
|
||||
)
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super().get_parser(prog_name)
|
||||
|
||||
@@ -146,7 +146,14 @@ class CreateProject(command.ShowOne):
|
||||
|
||||
|
||||
class DeleteProject(command.Command):
|
||||
_description = _("Delete project(s)")
|
||||
_description = _(
|
||||
"Delete project(s). This command will remove specified "
|
||||
"existing project(s) if an active user is authorized to do "
|
||||
"this. If there are resources managed by other services "
|
||||
"(for example, Nova, Neutron, Cinder) associated with "
|
||||
"specified project(s), delete operation will proceed "
|
||||
"regardless."
|
||||
)
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super().get_parser(prog_name)
|
||||
|
||||
Reference in New Issue
Block a user