Преглед на файлове

Stop warning about ".yaml" extension

".yaml" is the preferred extension according to http://www.yaml.org/faq.html

Signed-off-by: jake-low <[email protected]>
jake-low преди 10 години
родител
ревизия
e760c42ae0
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      compose/config/config.py

+ 0 - 5
compose/config/config.py

@@ -161,11 +161,6 @@ def get_default_config_files(base_dir):
         log.warn("Found multiple config files with supported names: %s", ", ".join(candidates))
         log.warn("Using %s\n", winner)
 
-    if winner == 'docker-compose.yaml':
-        log.warn("Please be aware that .yml is the expected extension "
-                 "in most cases, and using .yaml can cause compatibility "
-                 "issues in future.\n")
-
     if winner.startswith("fig."):
         log.warn("%s is deprecated and will not be supported in future. "
                  "Please rename your config file to docker-compose.yml\n" % winner)