.
This commit is contained in:
parent
7dfbf4c9f2
commit
17181ae262
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user