Skip to content
Permalink
Browse files

Unset Node object cd and private_cd after register

We already flushed collector_env, but collector_env is using cd and private_cd
lazies to recompute.
  • Loading branch information...
cvaroqui committed Aug 2, 2019
1 parent 1b31600 commit 3deefcbb00edb01b24f6044736d237f556fd590b
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/node.py
@@ -1975,6 +1975,8 @@ def register(self):

try:
self.set_multi(["node.uuid="+uuid])
self.unset_lazy("private_cd")
self.unset_lazy("cd")
self.unset_lazy("collector_env")
except ex.excError:
print("failed to write registration number: %s" % uuid,

0 comments on commit 3deefcb

Please sign in to comment.
You can’t perform that action at this time.