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 ( ...@@ -31,7 +31,7 @@ import (
"info-manager-proxy/internal/server" "info-manager-proxy/internal/server"
) )
var version = "v1.2.0-beta.1" var version = "v1.1.1-beta.1"
func main() { func main() {
conf := config.LoadConfig() conf := config.LoadConfig()
......
...@@ -40,12 +40,12 @@ func TestRequestLoggingMiddleware(t *testing.T) { ...@@ -40,12 +40,12 @@ func TestRequestLoggingMiddleware(t *testing.T) {
SetUpHttpGateway() SetUpHttpGateway()
var buf bytes.Buffer var buf bytes.Buffer
log.Baselog.SetOutput(&buf) log.SetOutput(&buf)
originalFlags := log.Baselog.Flags() originalFlags := log.Baselog.Flags()
defer func() { defer func() {
log.Baselog.SetOutput(nil) log.SetOutput(nil)
log.Baselog.SetFlags(originalFlags) log.SetFlags(originalFlags)
}() }()
http.Get("http://localhost:8082/api/v1/information/testId") 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