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 authored and gord1306 committed Aug 14, 2024
1 parent 9d1b178 commit 0c80934
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 0c80934

Please sign in to comment.