From e4307acb66a7fa124882b6466de224f7660c9366 Mon Sep 17 00:00:00 2001 From: Mike Shriver Date: Wed, 6 Jun 2018 19:55:23 -0400 Subject: [PATCH] Fix rhevm.get_storage_domain_connections attribute error from reference to storagedomainservice.storage_connections pulling storage_connections_service and calling list --- wrapanapi/rhevm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wrapanapi/rhevm.py b/wrapanapi/rhevm.py index bb56e660..39df50ea 100644 --- a/wrapanapi/rhevm.py +++ b/wrapanapi/rhevm.py @@ -789,5 +789,4 @@ def import_template(self, edomain, sdomain, cluster, temp_template): ) def get_storage_domain_connections(self, storage_domain): - storage_domain = self._get_storage_domain_service(storage_domain) - return self.api.follow_link(storage_domain.storage_connections) + return self._get_storage_domain_service(storage_domain).storage_connections_service().list()