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

Include vhosts (internal nodes) in sliver actions (reboot, etc).

parent 2ad33398
......@@ -2264,7 +2264,8 @@ sub BatchAction($$@)
foreach my $sliver (@slivers) {
next
if (ref($sliver) ne "GeniSliver::Node");
if (ref($sliver) ne "GeniSliver::Node" &&
ref($sliver) ne "GeniSliver::Vhost");
$states{"$sliver->idx()"} = $sliver->state();
my $node = Node->Lookup($sliver->resource_id());
......
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