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

parent 4937080e
......@@ -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