Skip to content

✨ Refactor bottlerocket settings templates into go structs #45

✨ Refactor bottlerocket settings templates into go structs

✨ Refactor bottlerocket settings templates into go structs #45

Triggered via pull request August 8, 2024 21:57
Status Failure
Total duration 1m 42s
Artifacts

pr-golangci-lint.yaml

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

Annotations

30 errors and 11 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/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/controlplane_init.go#L1
package-comments: package comment should be of the form "Package bottlerocket ..." (revive)
lint: controlplane/kubeadm/internal/workload_cluster_etcd.go#L113
exported: exported method Workload.UpdateExternalEtcdEndpointsInKubeadmConfigMap should have comment or be unexported (revive)
lint: bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller.go#L71
exported: exported const RegistryUsername should have comment (or a comment on this block) or be unexported (revive)
lint: internal/controllers/cluster/cluster_controller.go#L598
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)