Commit a51fe1dc authored by Daniele Venzano's avatar Daniele Venzano

Fix error string with the correct back end name

parent f51f24f6
......@@ -101,7 +101,7 @@ class DockerClient:
assert isinstance(volume, VolumeDescriptionHostPath)
run_args['volumes'][volume.path] = {'bind': volume.mount_point, 'mode': ("ro" if volume.readonly else "rw")}
else:
log.error('Swarm backend does not support volume type {}'.format(volume.type))
log.error('Docker backend does not support volume type {}'.format(volume.type))
if service_instance.memory_limit is not None:
run_args['mem_limit'] = service_instance.memory_limit.max
......
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