Merge pull request #36 from vmware/clean-up-extra-err-check
chore: Remove extraneous err check
This commit is contained in:
commit
f97ba4e3b2
1 changed files with 0 additions and 4 deletions
|
|
@ -483,10 +483,6 @@ func (checkpointer *DynamoCheckpoint) syncLeases(shardStatus map[string]*par.Sha
|
|||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
log.Debugf("Error performing SyncLeases. Error: %+v ", err)
|
||||
return err
|
||||
}
|
||||
log.Debugf("Lease sync completed. Next lease sync will occur in %s", time.Duration(checkpointer.kclConfig.LeaseSyncingTimeIntervalMillis)*time.Millisecond)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue