diff options
author | Tatiana Kholkina <holkina@selectel.ru> | 2017-12-26 15:17:56 +0300 |
---|---|---|
committer | Tatiana Kholkina <holkina@selectel.ru> | 2017-12-27 11:05:49 +0300 |
commit | 0ed540b0e2c78f5393d59ca77c96a6b094765a28 (patch) | |
tree | bf55bea485fdb4e2bdeae431a201d7f2f75bebb1 | |
parent | 19387b09df466cfa57fdef9949789f435ccd18e7 (diff) | |
download | python-novaclient-0ed540b0e2c78f5393d59ca77c96a6b094765a28.tar.gz |
Remove irrelevant note
Since Id649d16ec2cdeb04bbaf2239a5e813abcca9c65d
do_rename method does not exist so we can remove related
note.
Also, the note is incorrect, so do not change the check.
Change-Id: I4bb0ce22b86db1cb8e474f563e50db11a838d411
-rw-r--r-- | novaclient/v2/shell.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py index b9c9f676..5c938181 100644 --- a/novaclient/v2/shell.py +++ b/novaclient/v2/shell.py @@ -1919,10 +1919,6 @@ def do_update(cs, args): update_kwargs = {} if args.name: update_kwargs["name"] = args.name - # NOTE(andreykurilin): `do_update` method is used by `do_rename` method, - # which do not have description argument at all. When `do_rename` will be - # removed after deprecation period, feel free to change the check below to: - # `if args.description:` if "description" in args and args.description is not None: update_kwargs["description"] = args.description _find_server(cs, args.server).update(**update_kwargs) |