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
This commit is contained in:
Tatiana Kholkina
2017-12-26 15:17:56 +03:00
parent 19387b09df
commit 0ed540b0e2

View File

@@ -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)