Skip to content

Commit 3fbf12f

Browse files
Addressing review comments
1 parent 4646c3d commit 3fbf12f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sonic-py-common/sonic_py_common/interface.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_port_table_name(interface_name):
111111
else:
112112
return ""
113113

114-
def subintf_get_longname(intf):
114+
def get_subintf_longname(intf):
115115
if intf is None:
116116
return None
117117
sub_intf_sep_idx = intf.find(VLAN_SUB_INTERFACE_SEPARATOR)
@@ -128,12 +128,12 @@ def subintf_get_longname(intf):
128128
else:
129129
return str(intf)
130130

131-
def intf_get_longname(intf):
131+
def get_intf_longname(intf):
132132
if intf is None:
133133
return None
134134

135135
if VLAN_SUB_INTERFACE_SEPARATOR in intf:
136-
return subintf_get_longname(intf)
136+
return get_subintf_longname(intf)
137137
else:
138138
if intf.startswith("Eth"):
139139
if intf.startswith("Ethernet"):

0 commit comments

Comments
 (0)