Merge branch 'lorin-volumes_from' into devel

This commit is contained in:
Toshio Kuratomi 2015-03-13 13:44:31 -07:00
commit e44ee190d2

View file

@ -1188,13 +1188,7 @@ class DockerManager(object):
'name': self.module.params.get('name'),
'stdin_open': self.module.params.get('stdin_open'),
'tty': self.module.params.get('tty'),
'volumes_from': self.module.params.get('volumes_from'),
}
if docker.utils.compare_version('1.10', self.client.version()['ApiVersion']) >= 0:
params['volumes_from'] = ""
if params['volumes_from'] is not None:
self.ensure_capability('volumes_from')
def do_create(count, params):
results = []