commit | 91d5aac5ecb4bd8e57bd049c4265fc8cd586f45a | [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 | 73b39eecdb36f515e79637a22c4273f7e2ce9923 [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):