Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 6b22f65

Browse files
committed
Merge branch 'update/schema_method' into upgrade/800/os_deployment_plans
2 parents f8beffa + 449f121 commit 6b22f65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hpOneView/resources/resource.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,8 +965,7 @@ def get_schema(self):
965965
Returns:
966966
A dict with the schema.
967967
"""
968-
resource_uri = self.data['uri']
969-
return self._helper.do_get(resource_uri + '/schema')
968+
return self._helper.do_get(self.URI + '/schema')
970969

971970

972971
class ResourceZeroBodyMixin(object):

0 commit comments

Comments
 (0)