Commit 9155e015 authored by Leigh B Stoller's avatar Leigh B Stoller

Print an error message when the interface_state table entry is

parent 9f997617
......@@ -211,8 +211,10 @@ sub Lookup($$$;$)
"where node_id='$nodeid' and ".
" card='$card' and port='$port'");
return undef
if (!$query_result);
if (!$query_result) {
print STDERR "*** Missing interface_state for $nodeid:$card:$port\n";
return undef;
# If a management interface, the lack of an interface_state
# record is not a big deal, so let it slide.
return undef
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