Remove auto_start option from fig.yml.

This option is redundant now that services can be started along with links.

Signed-off-by: Chris Corbyn <chris@w3style.co.uk>
This commit is contained in:
Chris Corbyn 2014-06-21 10:39:36 +00:00
commit 247691ca44
7 changed files with 11 additions and 24 deletions

View file

@ -45,10 +45,7 @@ class Service(object):
if 'image' in options and 'build' in options:
raise ConfigError('Service %s has both an image and build path specified. A service can either be built to image or use an existing image, not both.' % name)
if 'auto_start' not in options:
options['auto_start'] = True
supported_options = DOCKER_CONFIG_KEYS + ['auto_start', 'build', 'expose']
supported_options = DOCKER_CONFIG_KEYS + ['build', 'expose']
for k in options:
if k not in supported_options: