mirror of https://github.com/kubernetes/kops.git
Fix node-authorizer/pkg/server staticcheck failure
This commit is contained in:
parent
c4f6ad06d8
commit
55aeafb9c3
|
@ -1 +0,0 @@
|
|||
node-authorizer/pkg/server
|
|
@ -118,7 +118,7 @@ func (n *NodeAuthorizer) Run() error {
|
|||
}()
|
||||
|
||||
go func() {
|
||||
c := make(chan os.Signal)
|
||||
c := make(chan os.Signal, 1)
|
||||
signal.Notify(c, syscall.SIGINT)
|
||||
errs <- fmt.Errorf("received termination signal: %s", <-c)
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue