diff options
author | Flavio Percoco <flaper87@gmail.com> | 2014-09-05 14:28:58 +0200 |
---|---|---|
committer | Flavio Percoco <flaper87@gmail.com> | 2014-09-05 14:28:58 +0200 |
commit | 54f673d4133c1244e2555e7ceb3344c104a74154 (patch) | |
tree | 68a643bfff11928de450d5a5d90e87d93bf85384 | |
parent | ce6c07656168b64ee89a2ab3c3f519ca60728290 (diff) | |
download | glance_store-54f673d4133c1244e2555e7ceb3344c104a74154.tar.gz |
Align swift's store API0.1.8
swift's store get method was lacking of 2 keyword arguments. This patch
adds them to the API.
Change-Id: I8f67380b4ca07261bc3d4e6fbd201189d1087a96
-rw-r--r-- | glance_store/_drivers/swift/store.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glance_store/_drivers/swift/store.py b/glance_store/_drivers/swift/store.py index 6483342..1277c7f 100644 --- a/glance_store/_drivers/swift/store.py +++ b/glance_store/_drivers/swift/store.py @@ -403,7 +403,7 @@ class BaseStore(driver.Store): reason = (_("Location credentials are invalid")) raise exceptions.BadStoreUri(message=reason) - def get(self, location, connection=None, context=None): + def get(self, location, connection=None, offset=0, chunk_size=None, context=None): location = location.store_location (resp_headers, resp_body) = self._get_object(location, connection, context=context) |