commit | 5851db49ab77fadc22f40ae4f0f1874d51850319 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <sapanb@cs.princeton.edu> | Tue Jan 27 03:52:43 2015 +0000 |
committer | Sapan Bhatia <sapanb@cs.princeton.edu> | Tue Jan 27 03:52:43 2015 +0000 |
tree | fec02360fbcc67b7b8f2e28fb109448400c4db2e | |
parent | b3048aa6a2864d29bf34bbb2999f9a14c0d356b5 [diff] [blame] |
Set backend status when saving backend version of object
diff --git a/planetstack/openstack_observer/steps/sync_controller_images.py b/planetstack/openstack_observer/steps/sync_controller_images.py index 00f2a7d..fa0cad1 100644 --- a/planetstack/openstack_observer/steps/sync_controller_images.py +++ b/planetstack/openstack_observer/steps/sync_controller_images.py
@@ -37,4 +37,5 @@ image_id = res[0]['id'] controller_image.glance_image_id = image_id + controller_image.backend_status = '1 - OK' controller_image.save()