From 17181ae262221c5745e910f6da8f7fd835bc0704fcd8224676b6afb636fac9a3 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 18 Jul 2024 17:26:17 +0200 Subject: [PATCH] . --- obs-staging-bot/main.go | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/obs-staging-bot/main.go b/obs-staging-bot/main.go index 09a0d0a..7048780 100644 --- a/obs-staging-bot/main.go +++ b/obs-staging-bot/main.go @@ -1,7 +1,7 @@ package main import ( - "time" + "os" "src.opensuse.org/autogits/common" ) @@ -15,15 +15,10 @@ var GiteaToken string var runId uint + func allocateRequestHandler() *common.RequestHandler { - runId++ - - return &common.RequestHandler { - Logger: &common.StdoutLogging{ - Id: runId, - Date: time.Now(), - }, + Logger: common.CreateStdoutLogger(os.Stdout, os.Stdout), } }