Skip to content

Commit 7096e75

Browse files
committed
review fixes
1 parent af6488c commit 7096e75

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ IMPORT_BOSS_VER := v0.28.1
182182
IMPORT_BOSS := $(abspath $(TOOLS_BIN_DIR)/$(IMPORT_BOSS_BIN))
183183
IMPORT_BOSS_PKG := k8s.io/code-generator/cmd/import-boss
184184

185-
CAPI_HACK_TOOLS_VER := 5d54746e010854a1316e72733e13577d4d5695ec # Note: this is the commit ID of CAPI 5d54746e010854a1316e72733e13577d4d5695ec from 2024-10-02
185+
CAPI_HACK_TOOLS_VER := 5d54746e010854a1316e72733e13577d4d5695ec # Note: this is the commit ID of CAPI 5d54746e010854a1316e72733e13577d4d5695ec from 2024-10-23
186186

187187
BOSKOSCTL_BIN := boskosctl
188188
BOSKOSCTL := $(abspath $(TOOLS_BIN_DIR)/$(BOSKOSCTL_BIN))
@@ -485,11 +485,7 @@ verify-go-directive:
485485

486486
.PHONY: verify-modules
487487
verify-modules: generate-modules ## Verify go modules are up to date
488-
@if !(git diff --quiet HEAD -- go.sum go.mod $(TEST_DIR)/go.mod $(TEST_DIR)/go.sum); then \
489-
git diff; \
490-
echo "go module files are out of date"; exit 1; \
491-
fi
492-
@if !(git diff --quiet HEAD -- go.sum go.mod $(PACKAGING_DIR)/go.mod $(PACKAGING_DIR)/go.sum); then \
488+
@if !(git diff --quiet HEAD -- go.sum go.mod $(TEST_DIR)/go.mod $(TEST_DIR)/go.sum) $(PACKAGING_DIR)/go.mod $(PACKAGING_DIR)/go.sum); then \
493489
git diff; \
494490
echo "go module files are out of date"; exit 1; \
495491
fi
@@ -539,8 +535,8 @@ verify-govulncheck: $(GOVULNCHECK) ## Verify code for vulnerabilities
539535
if [ "$$R1" -ne "0" ] || [ "$$R2" -ne "0" ]; then \
540536
exit 1; \
541537
fi
542-
$(GOVULNCHECK) -C "$(PACKAGING_DIR)" ./... && R2=$$? || R2=$$?; \
543-
if [ "$$R1" -ne "0" ] || [ "$$R2" -ne "0" ]; then \
538+
$(GOVULNCHECK) -C "$(PACKAGING_DIR)" ./... && R3=$$? || R3=$$?; \
539+
if [ "$$R1" -ne "0" ] || [ "$$R2" -ne "0" ] || [ "$$R3" -ne "0" ]; then \
544540
exit 1; \
545541
fi
546542

packaging/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/cluster-api-provider-vsphere/packaging
22

33
go 1.22.7
44

5-
toolchain go1.22.8
6-
75
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.8.0-rc.0.0.20241022191051-5d54746e0108
86

97
replace sigs.k8s.io/cluster-api-provider-vsphere => ../

0 commit comments

Comments
 (0)