Merge "Correct deprecation of scale-in and scale-out cli"

This commit is contained in:
Jenkins 2016-11-29 01:43:33 +00:00 committed by Gerrit Code Review
commit b77dab2baa
1 changed files with 2 additions and 2 deletions

View File

@ -960,7 +960,7 @@ def do_cluster_resize(service, args):
help=_('Name or ID of cluster to operate on.'))
def do_cluster_scale_out(service, args):
"""Scale out a cluster by the specified number of nodes."""
show_deprecated('senlin cluster-scale-out', 'openstack cluster scale out')
show_deprecated('senlin cluster-scale-out', 'openstack cluster expand')
resp = service.cluster_scale_out(args.id, args.count)
print('Request accepted by action %s' % resp['action'])
@ -971,7 +971,7 @@ def do_cluster_scale_out(service, args):
help=_('Name or ID of cluster to operate on.'))
def do_cluster_scale_in(service, args):
"""Scale in a cluster by the specified number of nodes."""
show_deprecated('senlin cluster-scale-in', 'openstack cluster scale in')
show_deprecated('senlin cluster-scale-in', 'openstack cluster shrink')
resp = service.cluster_scale_in(args.id, args.count)
print('Request accepted by action %s' % resp['action'])