summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-18 10:53:30 -0500
committerGitHub <noreply@github.com>2017-02-18 10:53:30 -0500
commit62ef1580fdb5346283c70953338b91fdddce2936 (patch)
tree108d1c3b1065085bbc3d05f921cb0aa4dd0aca8c
parent701bd042f01df17d3363c8c31755eafabcf21fa7 (diff)
parent65d37ff9b94a451316a9a2c4cc61a50832519def (diff)
downloadopenshift-62ef1580fdb5346283c70953338b91fdddce2936.tar.gz
openshift-62ef1580fdb5346283c70953338b91fdddce2936.tar.bz2
openshift-62ef1580fdb5346283c70953338b91fdddce2936.tar.xz
openshift-62ef1580fdb5346283c70953338b91fdddce2936.zip
Merge pull request #3411 from kwoodson/oc_route_remove_debug
Fixing a bug by removing default debug output.
-rw-r--r--roles/lib_openshift/library/oc_route.py2
-rw-r--r--roles/lib_openshift/src/class/oc_route.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_openshift/library/oc_route.py b/roles/lib_openshift/library/oc_route.py
index 73600cb13..4b5c4460c 100644
--- a/roles/lib_openshift/library/oc_route.py
+++ b/roles/lib_openshift/library/oc_route.py
@@ -1548,7 +1548,7 @@ class OCRoute(OpenShiftCLI):
def needs_update(self):
''' verify an update is needed '''
skip = []
- return not Utils.check_def_equal(self.config.data, self.route.yaml_dict, skip_keys=skip, debug=True)
+ return not Utils.check_def_equal(self.config.data, self.route.yaml_dict, skip_keys=skip, debug=self.verbose)
@staticmethod
def get_cert_data(path, content):
diff --git a/roles/lib_openshift/src/class/oc_route.py b/roles/lib_openshift/src/class/oc_route.py
index cb743e19d..448457292 100644
--- a/roles/lib_openshift/src/class/oc_route.py
+++ b/roles/lib_openshift/src/class/oc_route.py
@@ -61,7 +61,7 @@ class OCRoute(OpenShiftCLI):
def needs_update(self):
''' verify an update is needed '''
skip = []
- return not Utils.check_def_equal(self.config.data, self.route.yaml_dict, skip_keys=skip, debug=True)
+ return not Utils.check_def_equal(self.config.data, self.route.yaml_dict, skip_keys=skip, debug=self.verbose)
@staticmethod
def get_cert_data(path, content):