From 0b5391a41addb89dcdad3f877ed6997c4efa3ea3 Mon Sep 17 00:00:00 2001 From: Shlomi Bitton Date: Sun, 17 Oct 2021 17:54:07 +0300 Subject: [PATCH] Fix import for dhcp_counters on clear_dhcp6relay_counter.py Signed-off-by: Shlomi Bitton --- .../cli/clear/plugins/clear_dhcp6relay_counter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dockers/docker-dhcp-relay/cli/clear/plugins/clear_dhcp6relay_counter.py b/dockers/docker-dhcp-relay/cli/clear/plugins/clear_dhcp6relay_counter.py index 7b0d5097d2ec..b4e158ce7f79 100644 --- a/dockers/docker-dhcp-relay/cli/clear/plugins/clear_dhcp6relay_counter.py +++ b/dockers/docker-dhcp-relay/cli/clear/plugins/clear_dhcp6relay_counter.py @@ -1,7 +1,6 @@ import sys import click -sys.path.insert(0, '../../show/plugins/') -from show_dhcp6relay_counters import DHCPv6_Counter +from show.plugins.dhcprelay import DHCPv6_Counter import utilities_common.cli as clicommon @@ -15,7 +14,7 @@ def dhcp6relay_clear(): @click.option('-i', '--interface', required=False) def dhcp6relay_clear_counters(interface): """ Clear dhcp6relay message counts """ - + counter = DHCPv6_Counter() counter_intf = counter.get_interface()