From 44298d0ee50d9a844dcd6e4a46bb9f3c2b00208b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 30 Mar 2018 10:28:08 +0300 Subject: Change: rename blob service to artifact store --- ick2/client.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ick2/client.py') 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 -- cgit v1.2.1