1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #736 from marquiz/devel/grpc-stop

nfd-master: do graceful stop of gRPC server
This commit is contained in:
Kubernetes Prow Robot 2022-01-21 03:05:59 -08:00 committed by GitHub
commit 0c330b1a35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ func (m *nfdMaster) Run() error {
// Stop NfdMaster
func (m *nfdMaster) Stop() {
m.server.Stop()
m.server.GracefulStop()
if m.nfdController != nil {
m.nfdController.stop()