Commit 30bb62ea authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix typo in LUVerifyCluster when checking node time



The first argument to _ErrorIf should always be True in this case.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e66d9f1a
......@@ -1444,7 +1444,7 @@ class LUVerifyCluster(LogicalUnit):
try:
ntime_merged = utils.MergeTime(ntime)
except (ValueError, TypeError):
_ErrorIf(test, self.ENODETIME, node, "Node returned invalid time")
_ErrorIf(True, self.ENODETIME, node, "Node returned invalid time")
if ntime_merged < (nvinfo_starttime - constants.NODE_MAX_CLOCK_SKEW):
ntime_diff = abs(nvinfo_starttime - ntime_merged)
......
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