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:
parent
c8359fa50a
commit
e53d053475
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue