Skip to content
Closed
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BIN_DIR := bin
CONTAINER_RUNTIME ?= docker
KUBECTL ?= kubectl
KIND_CLUSTER_NAME ?= kind
GO_INSTALL_OPTS ?= "-mod=readonly"
GO_INSTALL_OPTS ?= "-mod=mod"
TMP_DIR := $(shell mktemp -d -t manifests-$(date +%Y-%m-%d-%H-%M-%S)-XXXXXXXXXX)
MV_TMP_DIR := mv $(TMP_DIR)

Expand Down Expand Up @@ -177,7 +177,7 @@ KUSTOMIZE_VERSION ?= v4.2.0
CONTROLLER_TOOLS_VERSION ?= v0.9.0
ENVTEST_VERSION ?= latest
GINKGO_VERSION ?= v2.1.4
GOLANGCI_LINT_VERSION ?= v1.48.0
GOLANGCI_LINT_VERSION ?= v1.51.0
KIND_VERSION ?= v0.14.0
YQ_VERSION ?= v4.30.8

Expand Down
2 changes: 1 addition & 1 deletion internal/controllers/platformoperator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (r *PlatformOperatorReconciler) ensureDesiredBundleDeployment(ctx context.C
}
sourcedBundle, err := r.Sourcer.Source(ctx, po)
if err != nil {
return nil, fmt.Errorf("%v: %w", err, errSourceFailed)
return nil, fmt.Errorf("%v: %w", err, errSourceFailed) //nolint:errorlint
}
bd = applier.NewBundleDeployment(po, sourcedBundle.Image)
if err := r.Create(ctx, bd); err != nil {
Expand Down