Skip to content

Commit e6ca513

Browse files
committed
fix the LGTM
Signed-off-by: vaibhav-dahiya <[email protected]>
1 parent 4f00c33 commit e6ca513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonic-ycabled/ycable/ycable_utilities/y_cable_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def create_channel(type, level, kvp, soc_ip, port):
436436

437437
asic_index = y_cable_platform_sfputil.get_asic_id_for_logical_port(port)
438438

439-
channel, stub = None, None
439+
# Helper callback to get an channel connectivity state
440440
def wait_for_state_change(channel_connectivity):
441441
if channel_connectivity == grpc.ChannelConnectivity.TRANSIENT_FAILURE:
442442
helper_logger.log_notice("gRPC port {} state changed to TRANSIENT_FAILURE".format(port))

0 commit comments

Comments
 (0)