mirror of https://github.com/docker/compose.git
Fix typos
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
8297f55f2c
commit
16d6018419
|
@ -111,7 +111,7 @@ class Command(DocoptCommand):
|
|||
return os.path.join(self.base_dir, file_path)
|
||||
|
||||
if os.path.exists(os.path.join(self.base_dir, 'docker-compose.yaml')):
|
||||
log.warning("Fig just read the file 'docker-compose.yaml' on startup, rather "
|
||||
log.warning("Compose just read the file 'docker-compose.yaml' on startup, rather "
|
||||
"than 'docker-compose.yml'")
|
||||
log.warning("Please be aware that .yml is the expected extension "
|
||||
"in most cases, and using .yaml can cause compatibility "
|
||||
|
|
|
@ -67,7 +67,7 @@ class Project(object):
|
|||
dicts = []
|
||||
for service_name, service in list(config.items()):
|
||||
if not isinstance(service, dict):
|
||||
raise ConfigurationError('Service "%s" doesn\'t have any configuration options. All top level keys in your compose.yml must map to a dictionary of configuration options.' % service_name)
|
||||
raise ConfigurationError('Service "%s" doesn\'t have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.' % service_name)
|
||||
service['name'] = service_name
|
||||
dicts.append(service)
|
||||
return cls.from_dicts(name, dicts, client)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
find . -type f -name '*.pyc' -delete
|
||||
rm -rf docs/_site build dist compose.egg-info
|
||||
rm -rf docs/_site build dist docker-compose.egg-info
|
||||
|
|
Loading…
Reference in New Issue