Skip to content

Commit

Permalink
Fix a NODE global access error in the monitor thread reconfigure code…
Browse files Browse the repository at this point in the history
…path
  • Loading branch information
cvaroqui committed Sep 30, 2019
1 parent bf70177 commit 11341b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/osvcd_mon.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def reconfigure(self):
"""
The node config references may have changed, update the services objects.
"""
NODE.unset_lazy("labels")
CLUSTER_DATA[rcEnv.nodename]["labels"] = NODE.labels
shared.NODE.unset_lazy("labels")
CLUSTER_DATA[rcEnv.nodename]["labels"] = shared.NODE.labels
self.on_nodes_info_change()
for path in shared.SERVICES:
try:
Expand Down

0 comments on commit 11341b2

Please sign in to comment.