Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit f554be6

Browse files
committed
auth: make auditLogMessage a constant
Signed-off-by: Javi Fontan <jfontan@gmail.com>
1 parent 62d616e commit f554be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func NewAuditLog(l *logrus.Logger) AuditMethod {
8989
}
9090
}
9191

92-
var auditLogMessage = "audit trail"
92+
const auditLogMessage = "audit trail"
9393

9494
// AuditLog logs audit trails to a logrus.Logger.
9595
type AuditLog struct {

0 commit comments

Comments
 (0)