mirror of
https://github.com/schoebel/mars
synced 2025-01-03 04:42:17 +00:00
marsadm: fix corner case of guest activation
This commit is contained in:
parent
c75c14ec90
commit
a7754cdc0c
@ -2781,6 +2781,7 @@ sub recent_cluster {
|
||||
sub _activate_resource {
|
||||
my ($cmd, $res, $peer) = @_;
|
||||
$peer = $host unless $peer;
|
||||
return if $peer =~ $match_reserved_id;
|
||||
finish_links();
|
||||
if (!$res || $res eq "*" || $res eq "all") {
|
||||
lwarn "no usable resource to activate ($res).\n";
|
||||
|
Loading…
Reference in New Issue
Block a user