Skip to content

Commit f2046ff

Browse files
committed
I think I need to use 127.0.0.1 instead of localhost
Signed-off-by: Alvin Lin <[email protected]>
1 parent b483cd3 commit f2046ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/e2e/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func (s *HTTPService) Metrics() (_ string, err error) {
532532
localPort := s.networkPortsContainerToLocal[s.httpPort]
533533

534534
// Fetch metrics.
535-
res, err := GetRequest(fmt.Sprintf("http://localhost:%d/metrics", localPort))
535+
res, err := GetRequest(fmt.Sprintf("http://127.0.0.1:%d/metrics", localPort))
536536
if err != nil {
537537
return "", err
538538
}

0 commit comments

Comments
 (0)