Skip to content

Commit

Permalink
Convert float to string
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz authored Jul 9, 2024
1 parent e5195ce commit 7eb3a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/register/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func register() {
q.Add("iata", *iata)
q.Add("ipv4", *ipv4)
q.Add("ipv6", *ipv6)
q.Add("probability", *siteProb)
q.Add("probability", fmt.Sprintf("%f", *siteProb))

Check failure on line 83 in cmd/register/main.go

View workflow job for this annotation

GitHub Actions / coverage

undefined: fmt
registerURL.RawQuery = q.Encode()

log.Printf("Registering with %s", registerURL)
Expand Down

0 comments on commit 7eb3a07

Please sign in to comment.