Skip to content

Commit

Permalink
fix: use the wrong logger (#1198)
Browse files Browse the repository at this point in the history
* Bump golangci precommit

Signed-off-by: Thomas Poignant <[email protected]>

* fix: use the logger

Signed-off-by: Thomas Poignant <[email protected]>

---------

Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant authored Oct 30, 2023
1 parent 97c1747 commit 966f70b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ repos:
- id: gofumpt

- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.55.1
hooks:
- id: golangci-lint
2 changes: 1 addition & 1 deletion feature_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (g *GoFeatureFlag) startFlagUpdaterDaemon() {
func retrieveFlagsAndUpdateCache(config Config, cache cache.Manager) error {
retrievers, err := config.GetRetrievers()
if err != nil {
log.Printf("error while getting the file retriever: %v", err)
fflog.Printf(config.Logger, "error while getting the file retriever: %v", err)
return err
}

Expand Down

0 comments on commit 966f70b

Please sign in to comment.