Skip to content

Commit

Permalink
fix: args param missing
Browse files Browse the repository at this point in the history
  • Loading branch information
iwanghc committed Jan 17, 2025
1 parent 3e575af commit 475fc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/driver/v2/driver_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (rs *AuditResults) Message() string {
}

func (rs *AuditResults) Add(level RuleLevel, ruleName string, i18nMsgPattern i18nPkg.I18nStr, args ...interface{}) {
rs.AddResultWithError(level, ruleName, "", false, i18nMsgPattern, args)
rs.AddResultWithError(level, ruleName, "", false, i18nMsgPattern, args...)
}

func (rs *AuditResults) AddResultWithError(level RuleLevel, ruleName, errorMsg string, executionFailed bool, i18nMsgPattern i18nPkg.I18nStr, args ...interface{}) {
Expand Down

0 comments on commit 475fc8a

Please sign in to comment.