Browse Source

Merge pull request #9754 from Miciah/sdn-check-expand-openshift_client_binary_variable

SDN check: Expand openshift_client_binary variable
OpenShift Merge Robot 6 years ago
parent
commit
fb0522bd36
1 changed files with 1 additions and 0 deletions
  1. 1 0
      roles/openshift_health_checker/openshift_checks/sdn.py

+ 1 - 0
roles/openshift_health_checker/openshift_checks/sdn.py

@@ -60,6 +60,7 @@ class SDNCheck(OpenShiftCheck):
                                              ['/bin/docker', 'version'])
                 oc_executable = self.get_var('openshift_client_binary',
                                              default='/bin/oc')
+                oc_executable = self.template_var(oc_executable)
                 self.save_command_output('oc-version', [oc_executable,
                                                         'version'])
                 self.register_file('os-version', None,