Bump lint and fix issues (#245)

This commit is contained in:
Itxaka
2024-03-18 14:38:57 +01:00
committed by GitHub
parent 1720e4b22f
commit 572002fb38
5 changed files with 20 additions and 20 deletions

View File

@@ -173,7 +173,7 @@ func GetState() string {
retry.Delay(1*time.Second),
retry.Attempts(10),
retry.DelayType(retry.FixedDelay),
retry.OnRetry(func(n uint, err error) {
retry.OnRetry(func(n uint, _ error) {
Log.Debug().Uint("try", n).Msg("Cannot get state label, retrying")
}),
)