Commit a9613def authored by Guido Trotter's avatar Guido Trotter
Browse files

ConfdFilterCallback: fix a bug in expire

The HandleExpire function takes the whole "up" structure, and not just
the salt.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent 1fea2f0d
......@@ -335,8 +335,8 @@ class ConfdFilterCallback:
def _HandleExpire(self, up):
# if we have no answer we have received none, before the expiration.
if salt in self._answers:
del self._answers[salt]
if up.salt in self._answers:
del self._answers[up.salt]
def _HandleReply(self, up):
"""Handle a single confd reply, and decide whether to filter it.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment