From 96d2b8974be2bf646bd02f3e9faf6e41b73f9b13 Mon Sep 17 00:00:00 2001 From: Girish Saraf Date: Thu, 21 Mar 2024 20:26:18 -0700 Subject: [PATCH] Handling camelcase --- pkg/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/util.go b/pkg/util/util.go index 49b76b2..42243f5 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -51,7 +51,7 @@ func ConvertConfigFileToMap(configFileName string) (map[string]string, error) { configMap = map[string]string{ "broker": currentConfig.Broker, "topic": currentConfig.Topic, - "groupid": currentConfig.GroupId, + "groupId": currentConfig.GroupId, } case "rabbitmq.json": var currentConfig config.RabbitMQConfig