Commit 02b11061 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Merge branch 'fix/executor-kubernetes-test-vet-offense' into 'master'

Fix offense reported by vet. Add vet to 'code style` job.

See merge request !477
parents 1b06b69f b6222efc
......@@ -64,6 +64,7 @@ code style:
- make fmt
- make lint
- make complexity
- make vet
tags:
- docker
......
......@@ -445,7 +445,7 @@ func TestSetupBuildPod(t *testing.T) {
},
},
VerifyFn: func(t *testing.T, test testDef, pod *api.Pod) {
secrets := []api.LocalObjectReference{{"docker-registry-credentials"}}
secrets := []api.LocalObjectReference{{Name: "docker-registry-credentials"}}
assert.Equal(t, secrets, pod.Spec.ImagePullSecrets)
},
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment