chore: Remove extraneous err check
After checking the scan result above this line, checking err here no longer has any effect. Signed-off-by: John Calixto <jcalixto@vmware.com>
This commit is contained in:
parent
6120c11333
commit
c1f6b270ab
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)
|
log.Debugf("Lease sync completed. Next lease sync will occur in %s", time.Duration(checkpointer.kclConfig.LeaseSyncingTimeIntervalMillis)*time.Millisecond)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue