Merge pull request #804 from krasi-georgiev/ctr-couldnt-exit-when-containerd-is-down
ctr couldn't exit when the grpc containerd server is not running
This commit is contained in:
commit
433f77d3be
@ -100,7 +100,7 @@ func forwardAllSignals(containers execution.ContainerServiceClient, id string) c
|
|||||||
}
|
}
|
||||||
_, err := containers.Kill(gocontext.Background(), killRequest)
|
_, err := containers.Kill(gocontext.Background(), killRequest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.WithError(err).Error("grpc event from kill")
|
logrus.Fatalln(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user