From 17d3d9c8c4fabe6f90a4d173a17ddac09584d2677c9f80e3cfd1f60fab75260a Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 27 Aug 2024 11:16:07 +0200 Subject: [PATCH] . --- gitea-events-rabbitmq-publisher/rabbitmq.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gitea-events-rabbitmq-publisher/rabbitmq.go b/gitea-events-rabbitmq-publisher/rabbitmq.go index da712a7..e69a727 100644 --- a/gitea-events-rabbitmq-publisher/rabbitmq.go +++ b/gitea-events-rabbitmq-publisher/rabbitmq.go @@ -100,10 +100,6 @@ func ConnectToExchangeForPublish(host, username, password string) { ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) defer cancel() - if DebugMode { - log.Println(msg) - } - err = ch.PublishWithContext(ctx, "pubsub", msg.Topic, false, false, rabbitmq.Publishing{ ContentType: "application/json", AppId: AppName,