Skip to content

Commit

Permalink
fix: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Mar 26, 2023
1 parent 47306a1 commit 4a33eba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/policy/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ func (validator *ValidatorImpl) Warn(logE *logrus.Entry, policyFilePath string)
}
logE.WithFields(logrus.Fields{
"policy_file": policyFilePath,
}).Warnf(`The policy file is ignored unless it is allowed by aqua allow-policy command.
}).Warnf(`The policy file is ignored unless it is allowed by "aqua policy allow" command.
$ aqua allow-policy "%s"
$ aqua policy allow "%s"
If you want to keep ignoring the policy file without the warning, please run disallow-policy command.
If you want to keep ignoring the policy file without the warning, please run "aqua policy disallow" command.
$ aqua disallow-policy "%s"
$ aqua policy disallow "%s"
`, policyFilePath, policyFilePath)
return nil
Expand Down

0 comments on commit 4a33eba

Please sign in to comment.