commit | e4858cc5f8ebfffa698071663e4b9a0ab21dccce | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed Nov 11 09:28:32 2015 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Wed Nov 11 09:28:32 2015 -0800 |
tree | 8c108a2ef9a084d6a84be46e25d949dfcad0da14 | |
parent | e4a88b7222452257c89f164a309880809785eda7 [diff] |
set instance_id and instance_name for container-based instances
diff --git a/xos/openstack_observer/steps/sync_container.py b/xos/openstack_observer/steps/sync_container.py index 26e03e5..3a8375d 100644 --- a/xos/openstack_observer/steps/sync_container.py +++ b/xos/openstack_observer/steps/sync_container.py
@@ -109,6 +109,9 @@ self.sync_fields(o, fields) + o.instance_id = fields["container_name"] + o.instance_name = fields["container_name"] + o.save() def run_playbook(self, o, fields):