Skip to content

Commit

Permalink
Fix rhevm.get_storage_domain_connections
Browse files Browse the repository at this point in the history
attribute error from reference to storagedomainservice.storage_connections
pulling storage_connections_service and calling list
  • Loading branch information
mshriver committed Jun 6, 2018
1 parent 1338261 commit e4307ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wrapanapi/rhevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit e4307ac

Please sign in to comment.