From e9cb3de1242d79afd39ab0332371bffc4515b9081197d705381990f239b29707 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 14 Aug 2024 17:58:22 +0200 Subject: [PATCH] . --- gitea-events-rabbitmq-publisher/.gitignore | 1 + gitea-events-rabbitmq-publisher/go.mod | 2 +- gitea-events-rabbitmq-publisher/main.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 gitea-events-rabbitmq-publisher/.gitignore diff --git a/gitea-events-rabbitmq-publisher/.gitignore b/gitea-events-rabbitmq-publisher/.gitignore new file mode 100644 index 0000000..4257dc8 --- /dev/null +++ b/gitea-events-rabbitmq-publisher/.gitignore @@ -0,0 +1 @@ +gitea-events-rabbitmq-publisher diff --git a/gitea-events-rabbitmq-publisher/go.mod b/gitea-events-rabbitmq-publisher/go.mod index f58ddb8..1948d0b 100644 --- a/gitea-events-rabbitmq-publisher/go.mod +++ b/gitea-events-rabbitmq-publisher/go.mod @@ -1,4 +1,4 @@ -module src.opensuse.org/autogits/obs-staging-bot +module src.opensuse.org/autogits/gitea-events-rabbitmq-publisher go 1.22.3 diff --git a/gitea-events-rabbitmq-publisher/main.go b/gitea-events-rabbitmq-publisher/main.go index 6bc32dd..47f0e66 100644 --- a/gitea-events-rabbitmq-publisher/main.go +++ b/gitea-events-rabbitmq-publisher/main.go @@ -24,7 +24,7 @@ func connectToRabbitMQ() { os.Exit(1) } - ConnectToExchangeForPublish(host, username, password) + go ConnectToExchangeForPublish(host, username, password) } func main() {