Fix capitalization of handleServiceSASLStatus

This commit is contained in:
Simon Ser 2022-02-04 15:41:40 +01:00
parent 49b77d630a
commit 64ad2164de

View File

@ -244,7 +244,7 @@ func init() {
"status": { "status": {
usage: "<network name>", usage: "<network name>",
desc: "show SASL status", desc: "show SASL status",
handle: handleServiceSaslStatus, handle: handleServiceSASLStatus,
}, },
"set-plain": { "set-plain": {
usage: "<network name> <username> <password>", usage: "<network name> <username> <password>",
@ -689,7 +689,7 @@ func handleServiceCertFPFingerprints(ctx context.Context, dc *downstreamConn, pa
return nil return nil
} }
func handleServiceSaslStatus(ctx context.Context, dc *downstreamConn, params []string) error { func handleServiceSASLStatus(ctx context.Context, dc *downstreamConn, params []string) error {
if len(params) != 1 { if len(params) != 1 {
return fmt.Errorf("expected exactly one argument") return fmt.Errorf("expected exactly one argument")
} }