summaryrefslogtreecommitdiff
path: root/tests/plugins/logger/logger_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
committerValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
commit3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f (patch)
tree38f25c3c0679e8510b896d001d1b7dccf21c4bd8 /tests/plugins/logger/logger_test.go
parentd449d9d5aec1eec6d494064299feb1551f88ffe2 (diff)
Replace all 'localhost' with '127.0.0.1'. Fix default configuration and
other small bugs. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/logger/logger_test.go')
-rw-r--r--tests/plugins/logger/logger_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/logger/logger_test.go b/tests/plugins/logger/logger_test.go
index 9e3fa4da..ec4a748d 100644
--- a/tests/plugins/logger/logger_test.go
+++ b/tests/plugins/logger/logger_test.go
@@ -347,7 +347,7 @@ func TestFileLogger(t *testing.T) {
}
func httpEcho(t *testing.T) {
- req, err := http.NewRequest(http.MethodGet, "http://localhost:54224?hello=world", nil)
+ req, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:54224?hello=world", nil)
assert.NoError(t, err)
r, err := http.DefaultClient.Do(req)