Merge "Initialize activation status"
This commit is contained in:
commit
fe10d0faf4
@ -824,6 +824,7 @@ class SetImage(command.Command):
|
|||||||
image = utils.find_resource(
|
image = utils.find_resource(
|
||||||
image_client.images, parsed_args.image)
|
image_client.images, parsed_args.image)
|
||||||
|
|
||||||
|
activation_status = None
|
||||||
if parsed_args.deactivate:
|
if parsed_args.deactivate:
|
||||||
image_client.images.deactivate(image.id)
|
image_client.images.deactivate(image.id)
|
||||||
activation_status = "deactivated"
|
activation_status = "deactivated"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user