Skip to content

Commit

Permalink
added endpoint_overrided to get_container method in proxy (#171)
Browse files Browse the repository at this point in the history
added endpoint_overrided to get_container method in proxy

Reviewed-by: Artem Goncharov <[email protected]>
Reviewed-by: None <None>
Reviewed-by: Tino Schr <None>
  • Loading branch information
kucerakk authored Apr 21, 2021
1 parent cf8ee31 commit 67a1e5c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion otcextensions/sdk/obs/v1/_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ def get_container(self, container):
:returns: Detail of container
:rtype: :class:`~otcextensions.sdk.obs.v1.container.Container`
"""
return self._head(_container.Container, container)
endpoint = self.get_container_endpoint(container)
return self._head(
_container.Container,
container,
endpoint_override=endpoint,
requests_auth=self._get_req_auth(endpoint))

def create_container(self, **attrs):
"""Create a new container from attributes
Expand Down

0 comments on commit 67a1e5c

Please sign in to comment.