From b8de1d26cc74f3c238ced94739134a7617114e4d Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 18 Dec 2020 15:37:29 +0100 Subject: [PATCH] try fix velocloud --- cloud/vmware/velocloud/restapi/custom/api.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/vmware/velocloud/restapi/custom/api.pm b/cloud/vmware/velocloud/restapi/custom/api.pm index 6496e6d0b..27fa1a0d7 100644 --- a/cloud/vmware/velocloud/restapi/custom/api.pm +++ b/cloud/vmware/velocloud/restapi/custom/api.pm @@ -309,7 +309,7 @@ sub list_links { method => 'POST', endpoint => '/metrics/getEdgeLinkMetrics', query_form_post => { - enterpriseId => $self->{entreprise_id}, + enterpriseId => int($self->{entreprise_id}), edgeId => $options{edge_id}, metrics => [ 'bytesRx' ], interval => { @@ -361,7 +361,7 @@ sub get_application_name { method => 'POST', endpoint => '/configuration/getIdentifiableApplications', query_form_post => { - enterpriseId => $self->{entreprise_id} + enterpriseId => int($self->{entreprise_id}) } );