mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
chore(deps): bump github.com/golangci/golangci-lint from 1.50.1 to 1.51.2 (#4020)
* chore(deps): bump github.com/golangci/golangci-lint Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.50.1 to 1.51.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.50.1...v1.51.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix lint --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
parent
33159ed3ee
commit
bc0aa564ff
3 changed files with 163 additions and 161 deletions
|
@ -288,7 +288,6 @@ func (backend *Backend) SyncLatest(
|
|||
recordVersion, err = backend.client.Get(ctx, lastVersionKey).Uint64()
|
||||
if errors.Is(err, redis.Nil) {
|
||||
// this happens if there are no records
|
||||
err = nil
|
||||
} else if err != nil {
|
||||
return serverVersion, recordVersion, nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue