mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 02:11:09 +00:00
Merge pull request #27589 from mtaufen/e2e_teardown_fix
Automatic merge from submit-queue Allocate default killCmd structs in newE2eService function Fixes #27582 []()
This commit is contained in:
commit
15fdd1db63
@ -319,9 +319,15 @@ type killCmd struct {
|
||||
}
|
||||
|
||||
func (k *killCmd) Kill() error {
|
||||
if k == nil {
|
||||
glog.V(2).Infof("The killCmd is nil, nothing will be killed")
|
||||
return nil
|
||||
}
|
||||
|
||||
if k.override != nil {
|
||||
return k.override.Run()
|
||||
}
|
||||
|
||||
name := k.name
|
||||
cmd := k.cmd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user