We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9776d34 commit 3a47b8bCopy full SHA for 3a47b8b
apiserver/slack/slack.go
@@ -77,7 +77,7 @@ func parseRegisterMessage(text string) (string, string, error) {
77
// "register publicKey serial"
78
parts := strings.Split(text, " ")
79
if len(parts) != 3 {
80
- return "", "", fmt.Errorf("parsing register command: not enough params: \"%v\"", text)
+ return "", "", fmt.Errorf("parsing register command: must be exactly 3 params: \"%v\"", text)
81
}
82
command, publicKey, serial := parts[0], parts[1], parts[2]
83
if command != "register" {
0 commit comments