Skip to content

Commit

Permalink
chore(deps): update dependency github.com/vektra/mockery/v2 to v2.24.0 (
Browse files Browse the repository at this point in the history
#20)

* chore(deps): update dependency github.com/vektra/mockery/v2 to v2.24.0

* go generate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Carsten Dietrich <[email protected]>
  • Loading branch information
renovate[bot] and carstendietrich authored Apr 13, 2023
1 parent b2f1e14 commit a1ec687
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"time"
)

//go:generate go run github.com/vektra/mockery/v2@v2.23.2 --name Backend --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.23.2 --name TagSupporting --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.24.0 --name Backend --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.24.0 --name TagSupporting --case snake

type (
// Backend to persist cache data
Expand Down
2 changes: 1 addition & 1 deletion frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (f *Frontend) Get(ctx context.Context, key string, loader HTTPLoader) (Entr

f.logger.WithContext(ctx).
WithField(flamingo.LogKeyCategory, "httpcache").
Debug("no cache entry for: ", key)
Debug("No cache entry for: ", key)

return f.load(ctx, key, loader)
}
Expand Down
2 changes: 1 addition & 1 deletion mocks/Backend.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mocks/tag_supporting.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion redisBackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ func (b *RedisBackend) Get(key string) (entry Entry, found bool) {

if reply == nil {
b.cacheMetrics.countMiss()
b.logger.Info(fmt.Sprintf("Missed key: %v", key))

return Entry{}, false
}
Expand Down

0 comments on commit a1ec687

Please sign in to comment.