From 7a299b37ff2247586f12ce93830ea33a93853685 Mon Sep 17 00:00:00 2001 From: Md Soharab Ansari Date: Mon, 9 Sep 2024 12:02:15 +0530 Subject: [PATCH] Some cosmetic changes Signed-off-by: Md Soharab Ansari --- common/util.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/util.go b/common/util.go index e096725..2a66637 100644 --- a/common/util.go +++ b/common/util.go @@ -40,9 +40,9 @@ type ( ErrorString string } - errorResponse struct { - Request - Response + ErrorResponse struct { + Request Request + Response Response } ) @@ -108,7 +108,7 @@ func HandleHTTPRequest(message string, headers http.Header, data ConnectorMetada } } - errResp := errorResponse{ + errResp := ErrorResponse{ Request: Request{ Message: message, HTTPEndpoint: data.HTTPEndpoint,