Skip to content
Snippets Groups Projects
Commit d243779f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix minor bug; TBSetNodeLogEntry() takes a dbuid, not a perl $UID.

This caused the reporting_uid field of 20,000 rows to be set to zero
instead of a string.
parent ef0dd6c9
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2005, 2007 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -187,7 +187,7 @@ while (my ($node) = $query_result->fetchrow_array) {
if ($verbose);
if (!$debug) {
MarkPhysNodeDown($node);
TBSetNodeLogEntry($node, $UID, TB_DEFAULT_NODELOGTYPE(),
TBSetNodeLogEntry($node, "root", TB_DEFAULT_NODELOGTYPE(),
"'Moved to hwdown by node_status; ".
"did not report in for more than $timeout seconds.'");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment