diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-03-30 10:28:08 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-03-30 11:52:18 +0300 |
commit | 44298d0ee50d9a844dcd6e4a46bb9f3c2b00208b (patch) | |
tree | f3e1b5e4df6c0c21086b1c1d22024dd23fee81c1 /ick2/client.py | |
parent | 974631edc803b66e4487431c596664371bf0400a (diff) | |
download | ick2-44298d0ee50d9a844dcd6e4a46bb9f3c2b00208b.tar.gz |
Change: rename blob service to artifact store
Diffstat (limited to 'ick2/client.py')
-rw-r--r-- | ick2/client.py | 10 |
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 |