From 639e6d4080cd07788839310de7b345101ab78ed2 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 16 Oct 2019 13:18:58 +0200 Subject: [PATCH] fix scom restapi version --- apps/monitoring/scom/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/monitoring/scom/restapi/custom/api.pm b/apps/monitoring/scom/restapi/custom/api.pm index 89189fbee..a95c51e80 100644 --- a/apps/monitoring/scom/restapi/custom/api.pm +++ b/apps/monitoring/scom/restapi/custom/api.pm @@ -43,7 +43,7 @@ sub new { if (!defined($options{noptions})) { $options{options}->add_options(arguments => { - 'api-version' => { name => 'api_version' }, + 'api-version:s' => { name => 'api_version' }, 'hostname:s' => { name => 'hostname' }, 'port:s' => { name => 'port' }, 'proto:s' => { name => 'proto' },