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() {