Commit adcfa82d authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix; do not do partition check for virtnode snapshots.

parent b98d7a04
......@@ -597,7 +597,7 @@ UserError("Node Types: Must select at least one node type")
# old OSes from being checked as runnable on newer HW where they do not
# stand a chance.
#
if (!$isadmin && defined($node_id)) {
if (!$isadmin && defined($node) && !$node->isvirtnode()) {
my $query_result =
DBQueryFatal("select oi.type from osidtoimageid as oi ".
"left join partitions as p on oi.osid=p.osid ".
......
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