From d2f6f08a896b42a7656804137ba345458839f578 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 5 Aug 2020 17:16:32 +0200 Subject: [PATCH] fix nimble rest api --- centreon-plugins/storage/nimble/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/storage/nimble/restapi/custom/api.pm b/centreon-plugins/storage/nimble/restapi/custom/api.pm index d08a7ce4a..5781b183a 100644 --- a/centreon-plugins/storage/nimble/restapi/custom/api.pm +++ b/centreon-plugins/storage/nimble/restapi/custom/api.pm @@ -202,7 +202,7 @@ sub request_api { $self->clean_token(statefile => $self->{cache}); $self->authenticate(statefile => $self->{cache}); $content = $self->{http}->request( - endpoint => $options{endpoint}, + url_path => $options{endpoint}, warning_status => '', unknown_status => '', critical_status => '' ); }