diff options
Diffstat (limited to 'heatclient/v1/shell.py')
-rw-r--r-- | heatclient/v1/shell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 35540d8..98cc427 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -339,6 +339,8 @@ def do_stack_delete(hc, args): fields = {'stack_id': sid} try: hc.stacks.delete(**fields) + success_msg = _("Request to delete stack %s has been accepted.") + print(success_msg % sid) except (exc.HTTPNotFound, exc.Forbidden) as e: failure_count += 1 print(e) @@ -347,7 +349,6 @@ def do_stack_delete(hc, args): "stacks.") % {'count': failure_count, 'total': len(args.id)}) - do_stack_list(hc) @utils.arg('-O', '--output-file', metavar='<FILE>', |