Implement create_dirs and put_metadata methods for multiple storage
Change-Id: I59afa894fa435779fc3fed21e2aef45932af3618 Closes-Bug: #1593257
This commit is contained in:
parent
b1c6d533d7
commit
60c0fc6ffe
@ -119,6 +119,19 @@ class MultipleStorage(base.Storage):
|
||||
# TODO(DEKLAN): Need to implement.
|
||||
pass
|
||||
|
||||
def create_dirs(self, path):
|
||||
for storage in self.storages:
|
||||
storage.create_dirs(path)
|
||||
|
||||
def put_metadata(self,
|
||||
engine_metadata_path,
|
||||
freezer_metadata_path,
|
||||
backup):
|
||||
for storage in self.storages:
|
||||
storage.put_metadata(engine_metadata_path,
|
||||
freezer_metadata_path,
|
||||
backup)
|
||||
|
||||
|
||||
class StorageManager(object):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user