Browse Source

Merge pull request #8863 from vrutkovs/noproxy-cluster_hostname

no_proxy: use 'append' to properly add a string to a list
Scott Dodson 6 years ago
parent
commit
53f95f392c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_facts/library/openshift_facts.py

+ 1 - 1
roles/openshift_facts/library/openshift_facts.py

@@ -834,7 +834,7 @@ def set_proxy_facts(facts):
             common['no_proxy'].append(common['hostname'])
             if 'master' in facts:
                 if 'cluster_hostname' in facts['master']:
-                    common['no_proxy'].extend(facts['master']['cluster_hostname'])
+                    common['no_proxy'].append(facts['master']['cluster_hostname'])
             common['no_proxy'] = ','.join(sort_unique(common['no_proxy']))
         facts['common'] = common