mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-05 12:49:05 +00:00
Enable golangci linter stylecheck (#3167)
This PR only fixes error string formatting, log message strings are still mixed upper/lowercase (see https://github.com/woodpecker-ci/woodpecker/pull/3161#issuecomment-1885140649) and I'm not aware of a linter to enforce it.
This commit is contained in:
@@ -255,7 +255,7 @@ func (e *kube) WaitStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||
}
|
||||
|
||||
if isImagePullBackOffState(pod) {
|
||||
return nil, fmt.Errorf("Could not pull image for pod %s", pod.Name)
|
||||
return nil, fmt.Errorf("could not pull image for pod %s", pod.Name)
|
||||
}
|
||||
|
||||
bs := &types.State{
|
||||
|
Reference in New Issue
Block a user