Commit 3b3436f4 authored by Leigh Stoller's avatar Leigh Stoller

Silence a warning that is not helping but creates lots of noise.

parent a6888745
......@@ -679,16 +679,10 @@ sub LookupByIface($$$)
# If no interfaces entry, this is bad.
#
if (!$query_result->numrows) {
#
# See if there is a wire and it is a Trunk link; we can ignore those
# for now since it was not possible to autocreate the entries.
#
my $wire = Interface::Wire->LookupAnyByIface($nodeid, $iface);
if (defined($wire) && $wire->type() eq "Trunk") {
return undef;
if ($debug) {
cluck("*** No interface entry for ".
"Interface->LookupByIface($nodeid,$iface)");
}
cluck("*** No interface entry for ".
"Interface->LookupByIface($nodeid,$iface)");
return undef;
}
my $rowref = $query_result->fetchrow_hashref();
......
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