Skip to content

Commit

Permalink
fix: log entry name on policy loader (#2013)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Apr 17, 2024
1 parent ec64431 commit 9e8663c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/policy/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewPolicyLoader(pr string, cache gcache.Cache, opts ...mp.Option) Loader {
}

func (pl *policyLoader) GetPolicies() ([]string, error) {
log := pl.logger.WithValues("Get misconfig bundle policies")
log := pl.logger.WithName("Get misconfig bundle policies")
var policies []string
var ok bool
val, err := pl.getPoliciesFromCache()
Expand Down

0 comments on commit 9e8663c

Please sign in to comment.