Skip to content

Commit

Permalink
Fix incorrect sprintf format
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Aug 7, 2024
1 parent 4e37369 commit 35e39e9
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.Int()))
pinger, err := probing.NewPinger(fmt.Sprintf("127.0.0.1:%d", port.Int()))
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 35e39e9

Please sign in to comment.