summaryrefslogtreecommitdiff
path: root/ick2/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/client.py')
-rw-r--r--ick2/client.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/ick2/client.py b/ick2/client.py
index c26b298..bf708ae 100644
--- a/ick2/client.py
+++ b/ick2/client.py
@@ -128,15 +128,17 @@ class ControllerClient:
def url(self, path):
return '{}{}'.format(self._url, path)
- def get_blob_service_url(self):
+ def get_artifact_store_url(self):
url = self.url('/version')
version = self._api.get_dict(url)
- return version.get('blob_service')
+ url = version.get('artifact_store')
+ logging.info('Artifact store URL: %r', url)
+ return url
def get_blob_client(self):
- url = self.get_blob_service_url()
+ url = self.get_artifact_store_url()
blobs = BlobClient()
- blobs.set_url(blobs)
+ blobs.set_url(url)
blobs.set_http_api(self._api)
return blobs