Revision e7884f25
b/kamaki/cli/config.py | ||
---|---|---|
77 | 77 |
'file': HISTORY_PATH |
78 | 78 |
}, |
79 | 79 |
'pithos': { |
80 |
'type': 'object-storage',
|
|
80 |
'type': 'object-store', |
|
81 | 81 |
'version': 'v2' |
82 | 82 |
}, |
83 | 83 |
'cyclades': { |
b/kamaki/clients/astakos/__init__.py | ||
---|---|---|
106 | 106 |
for endpoint in service['endpoints']: |
107 | 107 |
|
108 | 108 |
if (not version) or ( |
109 |
endpoint['version_id'].lower() == version.lower()):
|
|
109 |
endpoint['versionId'].lower() == version.lower()):
|
|
110 | 110 |
matches.append(endpoint) |
111 | 111 |
if len(matches) != 1: |
112 | 112 |
raise ClientError( |
113 | 113 |
'%s endpoints match type %s %s' % ( |
114 | 114 |
len(matches), service_type, |
115 |
('and version_id %s' % version) if version else ''),
|
|
115 |
('and versionId %s' % version) if version else ''),
|
|
116 | 116 |
601) |
117 | 117 |
return matches[0] |
118 | 118 |
|
Also available in: Unified diff