better message for datastore-vm and datastore-iops

This commit is contained in:
garnier-quentin 2020-02-04 15:34:45 +01:00
parent 90aa222b5e
commit 543a2c484d
2 changed files with 4 additions and 2 deletions

View File

@ -165,7 +165,8 @@ sub manage_selection {
severity => 'OK',
short_msg => $response->{short_message}
);
return ;
$self->{output}->display();
$self->{output}->exit();
}
foreach my $ds_id (keys %{$response->{data}}) {

View File

@ -175,7 +175,8 @@ sub manage_selection {
severity => 'OK',
short_msg => $response->{short_message}
);
return ;
$self->{output}->display();
$self->{output}->exit();
}
foreach my $vm_id (keys %{$response->{data}}) {