linting
This commit is contained in:
@@ -14,6 +14,7 @@ type service struct {
|
||||
|
||||
// New creates retry policy service.
|
||||
func New() Policy {
|
||||
//nolint:gosec // Backoff jitter is non-cryptographic and only needs pseudo-random distribution.
|
||||
return &service{rnd: rand.New(rand.NewSource(time.Now().UnixNano()))}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user