(plugin) network::cisco::meraki::cloudcontroller::restapi - mode devices use new endpoint for switch port status (#3661)

This commit is contained in:
qgarnier 2022-05-13 17:16:05 +02:00 committed by GitHub
parent b631265870
commit 309fd33e28
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ sub get_device_switch_port_statuses {
my ($self, %options) = @_;
return $self->request_api(
endpoint => '/devices/' . $options{serial} . '/switchPortStatuses',
endpoint => '/devices/' . $options{serial} . '/switch/ports/statuses',
get_param => [ 'timespan=' . $self->{timespan} ],
hostname => $self->get_shard_hostname(serial => $options{serial})
);