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