Merge "Add missing user message"
This commit is contained in:
commit
dc51b7bcd4
@ -132,6 +132,8 @@ def do_baymodel_delete(cs, args):
|
||||
for baymodel in args.baymodels:
|
||||
try:
|
||||
cs.baymodels.delete(baymodel)
|
||||
print("Request to delete baymodel %s has been accepted." %
|
||||
baymodel)
|
||||
except Exception as e:
|
||||
print("Delete for baymodel %(baymodel)s failed: %(e)s" %
|
||||
{'baymodel': baymodel, 'e': e})
|
||||
|
@ -102,6 +102,8 @@ def do_bay_delete(cs, args):
|
||||
for id in args.bay:
|
||||
try:
|
||||
cs.bays.delete(id)
|
||||
print("Request to delete bay %s has been accepted." %
|
||||
id)
|
||||
except Exception as e:
|
||||
print("Delete for bay %(bay)s failed: %(e)s" %
|
||||
{'bay': id, 'e': e})
|
||||
|
@ -102,6 +102,8 @@ def do_container_delete(cs, args):
|
||||
for container in args.containers:
|
||||
try:
|
||||
cs.containers.delete(container)
|
||||
print("Request to delete container %s has been accepted." %
|
||||
container)
|
||||
except Exception as e:
|
||||
print("Delete for container %(container)s failed: %(e)s" %
|
||||
{'container': container, 'e': e})
|
||||
|
@ -109,6 +109,8 @@ def do_pod_delete(cs, args):
|
||||
for pod in args.pods:
|
||||
try:
|
||||
cs.pods.delete(pod, args.bay)
|
||||
print("Request to delete pod %s has been accepted." %
|
||||
pod)
|
||||
except Exception as e:
|
||||
print("Delete for pod %(pod)s failed: %(e)s" %
|
||||
{'pod': pod, 'e': e})
|
||||
|
@ -114,6 +114,8 @@ def do_rc_delete(cs, args):
|
||||
for rc in args.rcs:
|
||||
try:
|
||||
cs.rcs.delete(rc, args.bay)
|
||||
print("Request to delete rc %s has been accepted." %
|
||||
rc)
|
||||
except Exception as e:
|
||||
print("Delete for rc %(rc)s failed: %(e)s" %
|
||||
{'rc': rc, 'e': e})
|
||||
|
@ -102,6 +102,8 @@ def do_coe_service_delete(cs, args):
|
||||
for service in args.services:
|
||||
try:
|
||||
cs.services.delete(service, args.bay)
|
||||
print("Request to delete service %s has been accepted." %
|
||||
service)
|
||||
except Exception as e:
|
||||
print("Delete for service %(service)s failed: %(e)s" %
|
||||
{'service': service, 'e': e})
|
||||
|
Loading…
Reference in New Issue
Block a user