Remove temp comments
This commit is contained in:
parent
b5951e484c
commit
6a46632716
|
@ -49,12 +49,6 @@ class Container:
|
||||||
Return volumes for the container in the following format:
|
Return volumes for the container in the following format:
|
||||||
{'/home/user1/': {'bind': '/mnt/vol2', 'mode': 'rw'},}
|
{'/home/user1/': {'bind': '/mnt/vol2', 'mode': 'rw'},}
|
||||||
"""
|
"""
|
||||||
# {'Type': 'bind',
|
|
||||||
# 'Source': '/Users/einarforselv/Documents/projects/contraz/restic-volume-backup',
|
|
||||||
# 'Destination': '/restic-volume-backup',
|
|
||||||
# 'Mode': 'rw',
|
|
||||||
# 'RW': True,
|
|
||||||
# 'Propagation': 'rprivate'}
|
|
||||||
volumes = {}
|
volumes = {}
|
||||||
for mount in self._mounts:
|
for mount in self._mounts:
|
||||||
volumes[mount.source] = {'bind': mount.destination, 'mode': 'ro'}
|
volumes[mount.source] = {'bind': mount.destination, 'mode': 'ro'}
|
||||||
|
|
Loading…
Reference in New Issue