From 0ed540b0e2c78f5393d59ca77c96a6b094765a28 Mon Sep 17 00:00:00 2001 From: Tatiana Kholkina Date: Tue, 26 Dec 2017 15:17:56 +0300 Subject: [PATCH] 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 --- novaclient/v2/shell.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py index b9c9f6760..5c9381816 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)