Merge pull request #32986 from moypray/containerd_close
fix when rpc reports "transport is closing" error, health check go routine will exit Upstream-commit: e103125883ec3c03a8523682ed62f33d04e0ade9 Component: engine
This commit is contained in:
@@ -154,7 +154,7 @@ func (r *remote) handleConnectionChange() {
|
||||
logrus.Debugf("libcontainerd: containerd health check returned error: %v", err)
|
||||
|
||||
if r.daemonPid != -1 {
|
||||
if strings.Contains(err.Error(), "is closing") {
|
||||
if r.closeManually {
|
||||
// Well, we asked for it to stop, just return
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user