Merge pull request #1180 from kanaka/patch-1

Fix Mount bind type sanity check
This commit is contained in:
Joffrey F 2016-09-02 13:43:28 -07:00 committed by GitHub
commit fff71e9dbf
1 changed files with 1 additions and 1 deletions

View File

@ -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.'