Skip to content

Commit

Permalink
Merge pull request #5074 from Abirdcfly/master
Browse files Browse the repository at this point in the history
delete minor unreachable code caused by log.Fatal
  • Loading branch information
k8s-ci-robot authored Aug 8, 2022
2 parents 0caa325 + 375df5f commit 1ccd6fe
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func getNetListener(port uint) net.Listener {
lis, err := net.Listen("tcp", fmt.Sprintf(":%d", port))
if err != nil {
log.Fatalf("failed to listen: %v", err)
panic(fmt.Sprintf("failed to listen: %v", err))
}

return lis
Expand Down

0 comments on commit 1ccd6fe

Please sign in to comment.