Commit a8763217 authored by qhoangxuan's avatar qhoangxuan

fix underscore volume init

parent 1cbc0ea6
......@@ -70,7 +70,7 @@ class VolumeDescription:
class VolumeDescriptionHostPath(VolumeDescription):
"""Host-based volumes."""
def __init__(self, name: str, path: str, readonly: bool):
self.path = path
self.mount_point = '/mnt/' + name
self.readonly = readonly
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