mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +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
|
// Stop NfdMaster
|
||||||
func (m *nfdMaster) Stop() {
|
func (m *nfdMaster) Stop() {
|
||||||
m.server.Stop()
|
m.server.GracefulStop()
|
||||||
|
|
||||||
if m.nfdController != nil {
|
if m.nfdController != nil {
|
||||||
m.nfdController.stop()
|
m.nfdController.stop()
|
||||||
|
|
Loading…
Add table
Reference in a new issue