Skip to content

Commit

Permalink
Removed a redundant error check in connectivity-check plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rajendra-dendukuri committed Sep 30, 2022
1 parent 45a0a82 commit 3c9d658
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/usr/lib/ztp/plugins/connectivity-check
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ class ConnectivityCheck:
iter_list = list(_host_list)
# Loop through current host list
for host in iter_list:
if interface is not None and not isString(interface):
interface = None
if isString(host):
pingCmd = "ping -q -c " + str(ping_count) + " "
if deadline is not None:
Expand Down

0 comments on commit 3c9d658

Please sign in to comment.