Commit 49e3c50c authored by Daniele Venzano's avatar Daniele Venzano 🏇

Merge branch 'devel/fixes' into 'master'

Fix bug with inverted volume definition during service creation (fixes bug #58)

See merge request !18
parents c9dd1e1f f95fdc11
......@@ -147,7 +147,7 @@ class Service:
self.resource_reservation = ResourceReservation({'memory': self.description['required_resources']['memory'], 'cores': 0}) # ZApp description v2
try:
self.volumes = [VolumeDescriptionHostPath(v['path'], v['name'], v['read_only']) for v in self.description['volumes']]
self.volumes = [VolumeDescriptionHostPath(v['name'], v['path'], v['read_only']) for v in self.description['volumes']]
except KeyError:
self.volumes = []
except TypeError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment