try fix velocloud

This commit is contained in:
garnier-quentin 2020-12-18 15:37:29 +01:00
parent fdf410815f
commit b8de1d26cc
1 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ sub list_links {
method => 'POST', method => 'POST',
endpoint => '/metrics/getEdgeLinkMetrics', endpoint => '/metrics/getEdgeLinkMetrics',
query_form_post => { query_form_post => {
enterpriseId => $self->{entreprise_id}, enterpriseId => int($self->{entreprise_id}),
edgeId => $options{edge_id}, edgeId => $options{edge_id},
metrics => [ 'bytesRx' ], metrics => [ 'bytesRx' ],
interval => { interval => {
@ -361,7 +361,7 @@ sub get_application_name {
method => 'POST', method => 'POST',
endpoint => '/configuration/getIdentifiableApplications', endpoint => '/configuration/getIdentifiableApplications',
query_form_post => { query_form_post => {
enterpriseId => $self->{entreprise_id} enterpriseId => int($self->{entreprise_id})
} }
); );