fix bug in error message
diff --git a/xos/tosca/resources/service.py b/xos/tosca/resources/service.py
index db3c86a..884c6db 100644
--- a/xos/tosca/resources/service.py
+++ b/xos/tosca/resources/service.py
@@ -21,7 +21,7 @@
existing_tenancy = CoarseTenant.get_tenant_objects().filter(provider_service = provider_service, subscriber_service = obj)
if existing_tenancy:
- self.info("Tenancy relationship from %s to %s already exists" % (str(service), str(provider_service)))
+ self.info("Tenancy relationship from %s to %s already exists" % (str(obj), str(provider_service)))
else:
tenancy = CoarseTenant(provider_service = provider_service,
subscriber_service = obj)