Skip to content

Commit

Permalink
fix: typo fail download policy label (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
bunseokbot committed Apr 24, 2024
1 parent 6146286 commit 201d00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/policy/loader.go
Expand Up @@ -80,11 +80,11 @@ func (pl *policyLoader) LoadPolicies() ([]string, error) {

policyPath, err := pl.getBuiltInPolicies(context.Background())
if err != nil {
return []string{}, fmt.Errorf("failed to donwload policies: %w", err)
return []string{}, fmt.Errorf("failed to download policies: %w", err)
}
policiesData, err := LoadPoliciesData(policyPath)
if err != nil {
return []string{}, fmt.Errorf("failed to donwload policies: %w", err)
return []string{}, fmt.Errorf("failed to download policies: %w", err)
}
_ = pl.cache.SetWithExpire(bundlePolicies, policiesData, *pl.expiration)
return policiesData, nil
Expand Down

0 comments on commit 201d00a

Please sign in to comment.