Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed May 11, 2024
1 parent 506eacb commit 202b4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/streamlog/streamlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func shouldSampleQuery() bool {
} else if sampleRate > 1.0 {
sampleRate = 1.0
}
return rand.IntN(100) <= int(sampleRate * 100)
return rand.IntN(100) <= int(sampleRate*100)
}

// ShouldEmitLog returns whether the log with the given SQL query
Expand Down

0 comments on commit 202b4ac

Please sign in to comment.