appease linter, remove unnecessary log line
Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
This commit is contained in:
parent
bc96769c91
commit
1e20a00589
1 changed files with 1 additions and 2 deletions
|
@ -674,7 +674,6 @@ Error: %v
|
|||
func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error {
|
||||
concurrentlyReloadWorkers := n.store.GetBackendConfiguration().ConcurrentlyReloadWorkers
|
||||
if !concurrentlyReloadWorkers && n.workersReloading {
|
||||
klog.InfoS("worker reload already in progress, requeuing reload")
|
||||
return errors.New("worker reload already in progress, requeuing reload")
|
||||
}
|
||||
|
||||
|
@ -763,7 +762,7 @@ func (n *NGINXController) awaitWorkersReload() {
|
|||
time.Sleep(time.Second)
|
||||
o, err := exec.Command("/bin/sh", "-c", "pgrep worker | wc -l").Output()
|
||||
if err != nil {
|
||||
klog.ErrorS(err, string(numWorkers))
|
||||
klog.ErrorS(err, numWorkers)
|
||||
return
|
||||
}
|
||||
// cleanup any non-printable chars from shell output
|
||||
|
|
Loading…
Reference in a new issue