Merge pull request #36 from vmware/clean-up-extra-err-check

chore: Remove extraneous err check
This commit is contained in:
vmwjc 2023-04-04 14:21:24 -07:00 committed by GitHub
commit f97ba4e3b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}