Skip to content

Commit 3a47b8b

Browse files
committed
fixed errmsg
1 parent 9776d34 commit 3a47b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apiserver/slack/slack.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func parseRegisterMessage(text string) (string, string, error) {
7777
// "register publicKey serial"
7878
parts := strings.Split(text, " ")
7979
if len(parts) != 3 {
80-
return "", "", fmt.Errorf("parsing register command: not enough params: \"%v\"", text)
80+
return "", "", fmt.Errorf("parsing register command: must be exactly 3 params: \"%v\"", text)
8181
}
8282
command, publicKey, serial := parts[0], parts[1], parts[2]
8383
if command != "register" {

0 commit comments

Comments
 (0)