We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2359646 + 9799c2d commit fff71e9Copy full SHA for fff71e9
docker/types/services.py
@@ -80,7 +80,7 @@ def __init__(self, target, source, type='volume', read_only=False,
80
self['BindOptions'] = {
81
'Propagation': propagation
82
}
83
- if any(labels, driver_config, no_copy):
+ if any([labels, driver_config, no_copy]):
84
raise errors.DockerError(
85
'Mount type is binding but volume options have been '
86
'provided.'
0 commit comments