mirror of https://github.com/k3s-io/k3s
delete meaningless judgments
parent
7a09ba96d8
commit
6d4341b3ff
|
@ -171,10 +171,7 @@ func (p *podWorkers) managePodLoop(podUpdates <-chan UpdatePodOptions) {
|
|||
updateType: update.UpdateType,
|
||||
})
|
||||
lastSyncTime = time.Now()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}()
|
||||
// notify the call-back function if the operation succeeded or not
|
||||
if update.OnCompleteFunc != nil {
|
||||
|
|
Loading…
Reference in New Issue