Skip to content
Snippets Groups Projects
Commit ee0719db authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Support kamaki 0.8

In kamaki 0.8 `store' command is replaced with `file' and `astakos' is
replaced with `user'.
parent 80411610
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Kamaki(object):
def get_account(token):
"""Return the account corresponding to this token"""
config = Config()
astakos = AstakosClient(config.get('astakos', 'url'), token)
astakos = AstakosClient(config.get('user', 'url'), token)
try:
account = astakos.info()
except ClientError as e:
......@@ -78,7 +78,7 @@ class Kamaki(object):
config = Config()
pithos_url = config.get('store', 'url')
pithos_url = config.get('file', 'url')
self.pithos_client = PithosClient(
pithos_url, self.account['auth_token'], self.account['uuid'],
self.CONTAINER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment