You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @BupycHuk I have a doubt these alerts are by revive linter rule which is asking to change variable name
managed/utils/validators/validators.go:28:2: time-naming: var MetricsResolutionMin is of type time.Duration; don't use unit-specific suffix "Min" (revive)
MetricsResolutionMin = time.Second
^
managed/utils/validators/validators.go:32:2: time-naming: var STTCheckIntervalMin is of type time.Duration; don't use unit-specific suffix "Min" (revive)
STTCheckIntervalMin = time.Second
^
managed/utils/validators/validators.go:36:2: time-naming: var DataRetentionMin is of type time.Duration; don't use unit-specific suffix "Min" (revive)
should i change these or let it be there are simiillar alerts like this as well
Description
Ref: #1541
We'd like to enable
revive
linter rule.Suggested solution
Additional context
The rule can be enabled by simply removing this line.
You can check similar PRs to see how we enabled some other rules (ref: #1541)
Code of Conduct
The text was updated successfully, but these errors were encountered: