aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private/hook_verification.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/hook_verification.go')
-rw-r--r--routers/private/hook_verification.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/private/hook_verification.go b/routers/private/hook_verification.go
index 7c06cf8557..57d0964ead 100644
--- a/routers/private/hook_verification.go
+++ b/routers/private/hook_verification.go
@@ -6,7 +6,6 @@ package private
import (
"bufio"
"context"
- "fmt"
"io"
"os"
@@ -113,7 +112,7 @@ type errUnverifiedCommit struct {
}
func (e *errUnverifiedCommit) Error() string {
- return fmt.Sprintf("Unverified commit: %s", e.sha)
+ return "Unverified commit: " + e.sha
}
func isErrUnverifiedCommit(err error) bool {