Skip to content
Snippets Groups Projects
Commit 6e20c211 authored by OZGCloud's avatar OZGCloud
Browse files

fixed error

parent 0b1c228e
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ import (
"info-manager-proxy/internal/server"
)
var version = "v1.2.0-beta.1"
var version = "v1.1.1-beta.1"
func main() {
conf := config.LoadConfig()
......
......@@ -40,12 +40,12 @@ func TestRequestLoggingMiddleware(t *testing.T) {
SetUpHttpGateway()
var buf bytes.Buffer
log.Baselog.SetOutput(&buf)
log.SetOutput(&buf)
originalFlags := log.Baselog.Flags()
defer func() {
log.Baselog.SetOutput(nil)
log.Baselog.SetFlags(originalFlags)
log.SetOutput(nil)
log.SetFlags(originalFlags)
}()
http.Get("http://localhost:8082/api/v1/information/testId")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment