From b151051ff68eb6878331edabb4fd997314c09c42 Mon Sep 17 00:00:00 2001 From: Owen Cabalceta Date: Thu, 1 Aug 2024 13:09:45 -0400 Subject: [PATCH] patch: fix mocktr181 unknow command response message typo - fix response message typo for unknown mocktr181 cmds --- internal/wrphandlers/mocktr181/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/wrphandlers/mocktr181/handler.go b/internal/wrphandlers/mocktr181/handler.go index ab593a0..0bb7b77 100644 --- a/internal/wrphandlers/mocktr181/handler.go +++ b/internal/wrphandlers/mocktr181/handler.go @@ -143,7 +143,7 @@ func (h Handler) HandleWrp(msg wrp.Message) error { default: // currently only get and set are implemented for existing mocktr181 statusCode = 520 - payloadResponse = []byte(fmt.Sprintf(`{"message": "command %s is not support", "statusCode": %d}`, command, statusCode)) + payloadResponse = []byte(fmt.Sprintf(`{"message": "command '%s' is not supported", "statusCode": %d}`, command, statusCode)) } response := msg