Skip to content

Commit d6dbc90

Browse files
authored
Fix tiny issue of doc in RandomRatioBased (#4867)
* Fix tiny issue of doc in RandomRatioBased Signed-off-by: Alvin Lin <[email protected]> * I was wrong, the methods didn't implement interface Signed-off-by: Alvin Lin <[email protected]> Signed-off-by: Alvin Lin <[email protected]>
1 parent f44e967 commit d6dbc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tracing/sampler/sampling.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type RandomRatioBased struct {
1717
fraction float64
1818
}
1919

20-
// NewRandomRatioBased crea
20+
// NewRandomRatioBased creates a sampler based on random number.
2121
// fraction parameter should be between 0 and 1 where:
2222
// fraction >= 1 it will always sample
2323
// fraction <= 0 it will never sample

0 commit comments

Comments
 (0)