Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Oct 28, 2024
1 parent 6f36f0c commit 8a6a543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ticker/ticker.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (t *Ticker) Stop() {
t.logger.Info().Msgf("Ticker stopped")
}

// DurationFromUint64Seconds converts uint64 of secodns to time.Duration.
// DurationFromUint64Seconds converts uint64 of seconds to time.Duration.
func DurationFromUint64Seconds(seconds uint64) time.Duration {
// #nosec G115 seconds should be in range and is not user controlled
return time.Duration(seconds) * time.Second
Expand Down

0 comments on commit 8a6a543

Please sign in to comment.