Commit 93581c69 authored by Leigh Stoller's avatar Leigh Stoller

Remove test for restricted types.

parent e64e2a37
......@@ -61,11 +61,8 @@ foreach my $type (@free_types) {
$query_result =
DBQueryFatal("select count(a.node_id) from nodes as a ".
"left join reserved as b on a.node_id=b.node_id ".
"left join nodetypeXpid_permissions as p ".
" on a.type=p.type ".
"where b.node_id is null and a.type='$type' and ".
" a.reserved_pid is null and ".
" p.pid is null and ".
" (a.eventstate='" . TBDB_NODESTATE_ISUP . "' or ".
" a.eventstate='" . TBDB_NODESTATE_POWEROFF . "' or ".
" a.eventstate='" . TBDB_NODESTATE_PXEWAIT . "')");
......
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