diff --git a/mogadm b/mogadm index cf6772c..44c4aba 100755 --- a/mogadm +++ b/mogadm @@ -969,7 +969,7 @@ sub cmd_rebalance_policy { my $mogadm = mogadm(); my $args = shift; - my $res = $mogadm->rebalance_set_policy(policy => $args->{options}) + my $res = $mogadm->rebalance_set_policy($args->{options}) or fail($mogadm->errstr); ok("changed policy setting");