Kaydet (Commit) fff71e9d authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) GitHub

Merge pull request #1180 from kanaka/patch-1

Fix Mount bind type sanity check
......@@ -80,7 +80,7 @@ class Mount(dict):
self['BindOptions'] = {
'Propagation': propagation
}
if any(labels, driver_config, no_copy):
if any([labels, driver_config, no_copy]):
raise errors.DockerError(
'Mount type is binding but volume options have been '
'provided.'
......
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