Skip to content

Commit

Permalink
Merge pull request #271 from mshriver/fix-rhevm-storage
Browse files Browse the repository at this point in the history
Fix rhevm.get_storage_domain_connections
  • Loading branch information
mshriver authored Jun 6, 2018
2 parents 1338261 + e4307ac commit 2fc7055
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 2fc7055

Please sign in to comment.