fix netapp rest api endpoint
This commit is contained in:
parent
088d66e750
commit
02a82418cf
|
@ -44,7 +44,7 @@ sub check_options {
|
|||
sub manage_selection {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
return $options{custom}->request_api(url_path => '/api/storage/volumes?fields=*');
|
||||
return $options{custom}->request_api(endpoint => '/api/storage/volumes?fields=*');
|
||||
}
|
||||
|
||||
sub run {
|
||||
|
|
|
@ -172,7 +172,7 @@ sub check_options {
|
|||
sub manage_selection {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
my $volumes = $options{custom}->request_api(url_path => '/api/storage/volumes?fields=*');
|
||||
my $volumes = $options{custom}->request_api(endpoint => '/api/storage/volumes?fields=*');
|
||||
|
||||
$self->{volumes} = {};
|
||||
foreach (@{$volumes->{records}}) {
|
||||
|
|
Loading…
Reference in New Issue