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

nfd-master: do graceful stop of gRPC server

This commit is contained in:
Markus Lehtonen 2022-01-20 23:09:40 +02:00
parent c8359fa50a
commit e53d053475

View file

@ -254,7 +254,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()