From 976396073c3ed2bdaa72703548378545ee63529d Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 20 Oct 2020 11:22:32 +0200 Subject: [PATCH] fix #2215 (#2268) --- centreon-plugins/storage/purestorage/restapi/mode/arrays.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/storage/purestorage/restapi/mode/arrays.pm b/centreon-plugins/storage/purestorage/restapi/mode/arrays.pm index 58df0a936..231850877 100644 --- a/centreon-plugins/storage/purestorage/restapi/mode/arrays.pm +++ b/centreon-plugins/storage/purestorage/restapi/mode/arrays.pm @@ -103,7 +103,7 @@ sub new { sub manage_selection { my ($self, %options) = @_; - my $results = $options{custom}->get_object(path => '/volume?space=true'); + my $results = $options{custom}->get_object(path => '/array?space=true'); #[ # {"parity": 1.0, "capacity": 90089907364616, "provisioned": 98155035099136, "hostname": "frparadm224", "system": 0, "snapshots": 51928476177070, "volumes": 18963118791241, "data_reduction": 2.116144198166552, "total": 84076618640795, "shared_space": 13185023672484, "thin_provisioning": 0.5184735201906719, "total_reduction": 4.394658003033373}