Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dhcp_relay] Fix import for dhcp_counters on clear_dhcp6relay_counter.py #8991

Merged
merged 1 commit into from
Oct 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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()

Expand Down