Skip to content

✨ Refactor bottlerocket settings templates into go structs #40

✨ Refactor bottlerocket settings templates into go structs

✨ Refactor bottlerocket settings templates into go structs #40

Triggered via pull request August 6, 2024 20:37
Status Failure
Total duration 2m 16s
Artifacts

pr-golangci-lint.yaml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 12 warnings
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (hack/tools)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint (test)
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint (hack/tools)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint (test)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: util/secret/consts.go#L55
exported: exported const ManagedExternalEtcdCA should have comment (or a comment on this block) or be unexported (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bootstrap_test.go#L757
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bootstrap.go#L1
package-comments: package comment should be of the form "Package bottlerocket ..." (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/controlplane_init.go#L1
package-comments: package comment should be of the form "Package bottlerocket ..." (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L28
exported: type name will be used as bottlerocket.BottlerocketConfig by other packages, and that stutters; consider calling this Config (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L89
exported: type name will be used as bottlerocket.BottlerocketKernelSettings by other packages, and that stutters; consider calling this KernelSettings (revive)
lint: bootstrap/kubeadm/internal/bottlerocket/bottlerocket.go#L94
exported: type name will be used as bottlerocket.BottlerocketBootSettings by other packages, and that stutters; consider calling this BootSettings (revive)
lint: controllers/external/util.go#L260
exported: exported function GetExternalEtcdEndpoints should have comment or be unexported (revive)
lint: controllers/external/util.go#L270
exported: exported function IsExternalEtcdUpgrading should have comment or be unexported (revive)