Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hack/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ KO_VERSION ?= v0.18.1
# renovate: datasource=github-releases depName=uber-go/mock
MOCKGEN_VERSION = v0.6.0
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION = v2.10.1
GOLANGCI_LINT_VERSION = v2.11.3

KO := $(TOOLS_BIN_DIR)/ko
$(KO): $(call tool_version_file,$(KO),$(KO_VERSION))
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/stackit/validation/infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func ValidateInfrastructureConfig(infra *stackitv1alpha1.InfrastructureConfig, n

// ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.
func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *stackitv1alpha1.InfrastructureConfig, fldPath *field.Path) field.ErrorList {
allErrs := field.ErrorList{}
allErrs := field.ErrorList{} // nolint:prealloc // size is not known yet
if oldConfig == nil {
return allErrs
}
Expand Down