summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-30 10:35:55 -0500
committerGitHub <noreply@github.com>2016-11-30 10:35:55 -0500
commit161d6ce3976dbae137a5b90252fc9966734f7c15 (patch)
tree17acb009aaec787ef134ce63244e5bb64df98231 /roles/openshift_facts
parente4e281fefdafd0ee5cadb11cae6c67a409c262ce (diff)
parent5c24cf417b08e0b427435d1bd5d27a4b03467092 (diff)
downloadopenshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.gz
openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.bz2
openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.xz
openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.zip
Merge pull request #2859 from dgoodwin/ovs-docker-restart
Cleanup ovs file and restart docker on every upgrade.
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 95a9d668a..eb29848ff 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1309,6 +1309,7 @@ def get_openshift_version(facts):
# No need to run this method repeatedly on a system if we already know the
# version
+ # TODO: We need a way to force reload this after upgrading bits.
if 'common' in facts:
if 'version' in facts['common'] and facts['common']['version'] is not None:
return chomp_commit_offset(facts['common']['version'])