Skip to content

Commit

Permalink
Revert unecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Oct 10, 2023
1 parent 3f1f38a commit d2521e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/sonic_ax_impl/mibs/ietf/rfc1213.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ def reinit_data(self):
"""
Subclass update interface information
"""

self.if_name_map, \
self.if_alias_map, \
self.if_id_map, \
Expand Down
2 changes: 1 addition & 1 deletion src/sonic_ax_impl/mibs/ietf/rfc4363.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def fdb_vlanmac(self, fdb):
def reinit_connection(self):
Namespace.connect_namespace_dbs(self.db_conn)

def reinit_data(self, reconnect=False):
def reinit_data(self):
"""
Subclass update interface information
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rfc1213.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
modules_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(modules_path, 'src'))

from sonic_ax_impl.mibs.ietf.rfc1213 import NextHopUpdater, InterfacesUpdater, ArpUpdater
from sonic_ax_impl.mibs.ietf.rfc1213 import NextHopUpdater, InterfacesUpdater


class TestNextHopUpdater(TestCase):
Expand Down

0 comments on commit d2521e5

Please sign in to comment.