summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-17 17:04:22 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-02-17 17:04:22 -0500
commit65d37ff9b94a451316a9a2c4cc61a50832519def (patch)
treee391dbe46c50c4a4bd5f3560dc81690f0d871293 /roles
parent31eabf5d41c706270a347fad676cb74288aa5813 (diff)
downloadopenshift-65d37ff9b94a451316a9a2c4cc61a50832519def.tar.gz
openshift-65d37ff9b94a451316a9a2c4cc61a50832519def.tar.bz2
openshift-65d37ff9b94a451316a9a2c4cc61a50832519def.tar.xz
openshift-65d37ff9b94a451316a9a2c4cc61a50832519def.zip
Fixing a bug by removing default debug
Diffstat (limited to 'roles')
-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):