From e0ac22efb744d50cf2040a80a537414cff866bd7 Mon Sep 17 00:00:00 2001 From: Jessica Rodriguez Date: Thu, 31 Oct 2024 12:22:16 -0400 Subject: [PATCH] Independently log cloud-connector dispatchers map --- internal/cloud_connector/message_handlers.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/cloud_connector/message_handlers.go b/internal/cloud_connector/message_handlers.go index 3af21ba1..1c6d720b 100644 --- a/internal/cloud_connector/message_handlers.go +++ b/internal/cloud_connector/message_handlers.go @@ -218,6 +218,11 @@ func processDispatchers(logger *logrus.Entry, sourcesRecorder controller.Sources if gotDispatchers == false { logger.Debug("No dispatchers found") return + } else { + dispatchersMessage, dispatchersMarshalled := json.Marshal(dispatchers) + if dispatchersMarshalled == nil { + logger.Debugf("Dispatchers found: %s", dispatchersMessage) + } } dispatchersMap := dispatchers.(map[string]interface{})