Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
aganesh-suse committed May 7, 2024
1 parent 6b15659 commit dbcb175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ func CreateSecret(secret, namespace string) error {
if strings.Contains(createStdOut, "failed to create secret") {
return ReturnLogError("failed to create secret: \n%w", err)
}

return nil
}

Expand Down Expand Up @@ -711,7 +712,7 @@ func WaitForPodsRunning(defaultTime time.Duration, attempts uint) error {
},
retry.Attempts(attempts),
retry.Delay(defaultTime),
retry.OnRetry(func(n uint, err error) {
retry.OnRetry(func(n uint, _ error) {
LogLevel("DEBUG", "Attempt %d: Pods not ready, retrying...", n+1)
}),
)
Expand Down

0 comments on commit dbcb175

Please sign in to comment.