Commit f6e6d3b7 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to image lookup. This one has been around a long time.

parent d73b764e
......@@ -1396,7 +1396,7 @@ sub LoadVirtNodes($)
$osimage = OSImage->Lookup($parent_osname);
}
else {
$osimage = OSImage->LookupByName($pid, $parent_osname);
$osimage = OSImage->Lookup($pid, $parent_osname);
if (!defined($osimage)) {
$osimage = OSImage->LookupByName($parent_osname);
}
......
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