Skip to content

Commit

Permalink
Ping actual localhost ip
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Aug 7, 2024
1 parent 5e0ba9e commit 4e37369
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func (suite *TreatmentServiceTestSuite) SetupSuite() {
panic(err)
}

pinger, err := probing.NewPinger(fmt.Sprintf("127.0.0.1:%s", port))
pinger, err := probing.NewPinger(fmt.Sprintf("127.0.0.1:%s", port.Int()))

Check failure on line 385 in treatment-service/integration-test/fetch_treatment_it_test.go

View workflow job for this annotation

GitHub Actions / lint-go

printf: fmt.Sprintf format %s has arg port.Int() of wrong type int (govet)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 4e37369

Please sign in to comment.