mirror of https://github.com/schoebel/mars
Revert "marsadm: fix corner case of "all""
This reverts commit ea804c111a
.
This commit is contained in:
parent
71d8a9ecce
commit
201648d414
|
@ -8278,7 +8278,7 @@ sub expand_res_list {
|
|||
my ($cmd, $res) = @_;
|
||||
my @res_list=();
|
||||
if ($res eq "all" && $cmd !~ m/show|cat|cluster|set-link|delete-file/) {
|
||||
@res_list = get_all_resources();
|
||||
@res_list = get_member_resources();
|
||||
} elsif ($res =~ m/,/) {
|
||||
@res_list = split(",", $res);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue