Skip to content

Commit 3e4e44b

Browse files
author
Matthew Fisher
committed
feat(client): allow cluster id rename
1 parent bc719b7 commit 3e4e44b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/deis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,11 +1017,13 @@ def clusters_update(self, args):
10171017
a local file path to a SSH private key used to connect to cluster members.
10181018
--type=<type>
10191019
cluster type (default: coreos).
1020+
--id=<id>
1021+
the (new) uniquely identifiable name for the cluster.
10201022
"""
10211023
cluster = args['<id>']
10221024
body = {}
10231025
for k, arg in (('domain', '--domain'), ('hosts', '--hosts'),
1024-
('auth', '--auth'), ('type', '--type')):
1026+
('auth', '--auth'), ('type', '--type'), ('id', '--id')):
10251027
if k == 'auth' and args.get('--auth') is not None:
10261028
auth_path = os.path.expanduser(args['--auth'])
10271029
if not os.path.exists(auth_path):

0 commit comments

Comments
 (0)