Skip to content

Commit 781f83b

Browse files
committed
don't check for init function in resolve.go
this is a bug introduce in 1.58.0 golangci-lint and should be fixed soon but we can work around for now like this for now, see: golangci/golangci-lint#4697 fix some other yamllint error as well along the way. Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent a577bb0 commit 781f83b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ issues:
77
- path: _test\.go
88
linters:
99
- gosec
10+
# hopefully we can remove this when https://github.com/golangci/golangci-lint/issues/4697 is fixed
11+
- path: pkg/resolve/resolve.go
12+
text: "don't use `init` function"
1013
run:
1114
build-tags:
1215
- e2e

.tekton/doc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
- name: source
4141
steps:
4242
- name: hugo-gen
43-
image: registry.access.redhat.com/ubi9/python-311 # using this image since it has git and curl and python
43+
image: registry.access.redhat.com/ubi9/python-311
4444
workingDir: $(workspaces.source.path)
4545
env:
4646
- name: UPLOADER_PUBLIC_URL

0 commit comments

Comments
 (0)