Skip to content
Snippets Groups Projects
Commit 616abe5a authored by Anael Beutot's avatar Anael Beutot
Browse files

Add return value for create_volume method.

parent de4bf002
No related branches found
No related tags found
No related merge requests found
......@@ -679,6 +679,8 @@ class StorageIndex(object):
# and also to its storage pool
self.storages[new_volume.storage].volumes[new_volume.name] = new_volume
return new_volume
def delete_volume(self, pool_name, volume_name):
"""Delete a volume in the givent storage pool.
......
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