Skip to content

Commit

Permalink
chore: Fix lint (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjek authored Dec 9, 2024
1 parent 5c6579f commit 2126278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ func combineNowAndShiftTime(now, shiftTime time.Time) time.Time {

// Random duration between 10-60 sec
func GetRandomSleepDuration() time.Duration {
max := big.NewInt(51) // Upper bound is 51 to get values from 0 to 50
n, err := rand.Int(rand.Reader, max)
maxValue := big.NewInt(51) // Upper bound is 51 to get values from 0 to 50
n, err := rand.Int(rand.Reader, maxValue)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 2126278

Please sign in to comment.