CORD-1244 cleanup use of get_tenant/get_service
Change-Id: Iae02c3d73d64a105dadade3e64f73cad885c34fa
diff --git a/xos/tosca/resources/exampletenant.py b/xos/tosca/resources/exampletenant.py
index d4e4683..2675189 100644
--- a/xos/tosca/resources/exampletenant.py
+++ b/xos/tosca/resources/exampletenant.py
@@ -20,7 +20,7 @@
def get_existing_objs(self):
args = self.get_xos_args(throw_exception=False)
- return ExampleTenant.get_tenant_objects().filter(provider_service=args["provider_service"], service_specific_id=args["service_specific_id"])
+ return ExampleTenant.objects.filter(provider_service=args["provider_service"], service_specific_id=args["service_specific_id"])
return []
def can_delete(self, obj):