delete meaningless judgments

pull/6/head
chentao1596 2016-11-23 15:20:11 +08:00
parent 7a09ba96d8
commit 6d4341b3ff
1 changed files with 1 additions and 4 deletions

View File

@ -171,10 +171,7 @@ func (p *podWorkers) managePodLoop(podUpdates <-chan UpdatePodOptions) {
updateType: update.UpdateType,
})
lastSyncTime = time.Now()
if err != nil {
return err
}
return nil
}()
// notify the call-back function if the operation succeeded or not
if update.OnCompleteFunc != nil {