Browse Source

Merge pull request #2492 from jake-low/no-yaml-warning

Stop warning about ".yaml" file extension
Daniel Nephin 10 năm trước cách đây
mục cha
commit
509059cdab
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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)