Skip to content

Commit

Permalink
Fix: cv_validate_v3 broken with cvprac 1.4.0 due to argument keyword …
Browse files Browse the repository at this point in the history
…change
  • Loading branch information
noredistribution committed May 24, 2024
1 parent 204509b commit bff47ea
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# Copyright (c) 2023 Arista Networks, Inc.
# Copyright (c) 2023-2024 Arista Networks, Inc.
# Use of this source code is governed by the Apache License 2.0
# that can be found in the LICENSE file.
# coding: utf-8 -*-
Expand Down Expand Up @@ -191,9 +191,7 @@ def manager(self, devices: list, validate_mode: string):
MODULE_LOGGER.debug(
"queryParams are deviceMac: %s and configuration: %s", str(
system_mac), str(config))
resp = self.__cv_client.api.validate_config_for_device(
device_mac=system_mac,
config=config)
resp = self.__cv_client.api.validate_config_for_device(system_mac, config)
result_data.add_entry(
configlet_name + "_validated_against_" + device_info['device_name']
)
Expand Down

0 comments on commit bff47ea

Please sign in to comment.