Skip to content

Commit

Permalink
Merge pull request #112 from ialidzhikov/automated-cherry-pick-of-#81…
Browse files Browse the repository at this point in the history
…-origin-release-0.9

Automated cherry pick of #81: connection: exit with less output on connection loss
  • Loading branch information
k8s-ci-robot authored May 5, 2022
2 parents 1ddd41d + 29f418d commit bbda272
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connection/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ func ExitOnConnectionLoss() func() bool {
if err := ioutil.WriteFile(terminationLogPath, []byte(terminationMsg), 0644); err != nil {
klog.Errorf("%s: %s", terminationLogPath, err)
}
klog.Fatalf(terminationMsg)
klog.Exit(terminationMsg)
// Not reached.
return false
}
}
Expand Down

0 comments on commit bbda272

Please sign in to comment.