Skip to content

Commit b0763f9

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Extend project delete command description"
2 parents 20ad83b + c0ada2d commit b0763f9

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

openstackclient/identity/v2_0/project.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,14 @@ def take_action(self, parsed_args):
105105

106106

107107
class DeleteProject(command.Command):
108-
_description = _("Delete project(s)")
108+
_description = _(
109+
"Delete project(s). This command will remove specified "
110+
"existing project(s) if an active user is authorized to do "
111+
"this. If there are resources managed by other services "
112+
"(for example, Nova, Neutron, Cinder) associated with "
113+
"specified project(s), delete operation will proceed "
114+
"regardless."
115+
)
109116

110117
def get_parser(self, prog_name):
111118
parser = super().get_parser(prog_name)

openstackclient/identity/v3/project.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,14 @@ def take_action(self, parsed_args):
146146

147147

148148
class DeleteProject(command.Command):
149-
_description = _("Delete project(s)")
149+
_description = _(
150+
"Delete project(s). This command will remove specified "
151+
"existing project(s) if an active user is authorized to do "
152+
"this. If there are resources managed by other services "
153+
"(for example, Nova, Neutron, Cinder) associated with "
154+
"specified project(s), delete operation will proceed "
155+
"regardless."
156+
)
150157

151158
def get_parser(self, prog_name):
152159
parser = super().get_parser(prog_name)

0 commit comments

Comments
 (0)