From 3890c4f12199a9da033357c289f2c6e43d86c388 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 13 Oct 2023 14:11:46 +0000 Subject: [PATCH] cleanup: fix k8s.io/endpointslice dependency --- go.mod | 1 + hack/verify-gomod.sh | 4 +--- vendor/modules.txt | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b1c7c7ab54..63de7ff604 100644 --- a/go.mod +++ b/go.mod @@ -166,6 +166,7 @@ replace ( k8s.io/cri-api => k8s.io/cri-api v0.28.1 k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.28.1 k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.28.1 + k8s.io/endpointslice => k8s.io/endpointslice v0.28.1 k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.28.1 k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.28.1 k8s.io/kube-proxy => k8s.io/kube-proxy v0.28.1 diff --git a/hack/verify-gomod.sh b/hack/verify-gomod.sh index adce32deb9..09fcaf2133 100755 --- a/hack/verify-gomod.sh +++ b/hack/verify-gomod.sh @@ -30,6 +30,4 @@ if [[ -n "${diff}" ]]; then fi echo "Done" -# disable now due to error: -# server response: not found: k8s.io/endpointslice@v0.0.0: invalid version: unknown revision v0.0.0 -#go list -mod readonly -m all +go list -mod readonly -m all diff --git a/vendor/modules.txt b/vendor/modules.txt index 6b4bb0d6ea..af1274c9d0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1626,6 +1626,7 @@ sigs.k8s.io/yaml # k8s.io/cri-api => k8s.io/cri-api v0.28.1 # k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.28.1 # k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.28.1 +# k8s.io/endpointslice => k8s.io/endpointslice v0.28.1 # k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.28.1 # k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.28.1 # k8s.io/kube-proxy => k8s.io/kube-proxy v0.28.1