fix AttributeError
authorTony Mack <tmack@tux.cs.princeton.edu>
Fri, 21 Nov 2014 21:41:54 +0000 (16:41 -0500)
committerTony Mack <tmack@tux.cs.princeton.edu>
Fri, 21 Nov 2014 21:41:54 +0000 (16:41 -0500)
planetstack/openstack_observer/steps/sync_slice_deployments.py

index 97196d6..4c358d7 100644 (file)
@@ -65,7 +65,7 @@ class SyncSliceDeployments(OpenStackSyncStep):
                         'tenant': slice_deployment.slice.name,
                         'tenant_description': slice_deployment.slice.description,
                         'roles':roles,
-                        'name':deployment_user.email,
+                        'name':deployment_user.user.email,
                         'max_instances':max_instances}
 
        res = run_template('sync_slice_deployments.yaml', tenant_fields)