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,
|
updateType: update.UpdateType,
|
||||||
})
|
})
|
||||||
lastSyncTime = time.Now()
|
lastSyncTime = time.Now()
|
||||||
if err != nil {
|
return err
|
||||||
return err
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}()
|
}()
|
||||||
// notify the call-back function if the operation succeeded or not
|
// notify the call-back function if the operation succeeded or not
|
||||||
if update.OnCompleteFunc != nil {
|
if update.OnCompleteFunc != nil {
|
||||||
|
|
Loading…
Reference in New Issue