diff --git a/go.mod b/go.mod index 758eecca2..595890be9 100644 --- a/go.mod +++ b/go.mod @@ -13,9 +13,9 @@ require ( k8s.io/client-go v0.29.3 k8s.io/code-generator v0.29.3 k8s.io/utils v0.0.0-20240102154912-e7106e64919e - knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11 - knative.dev/networking v0.0.0-20240516132600-507209b2bf6f - knative.dev/pkg v0.0.0-20240521083825-99e1685a7997 + knative.dev/hack v0.0.0-20240529131459-3b6d6441e7ea + knative.dev/networking v0.0.0-20240529132623-11202c520534 + knative.dev/pkg v0.0.0-20240529130935-ff4756ab9454 sigs.k8s.io/gateway-api v1.0.1-0.20240422224228-29e68bffffb9 sigs.k8s.io/yaml v1.4.0 ) diff --git a/go.sum b/go.sum index 6c0e961b3..97c730edb 100644 --- a/go.sum +++ b/go.sum @@ -675,12 +675,12 @@ k8s.io/kube-openapi v0.0.0-20240105020646-a37d4de58910 h1:1Rp/XEKP5uxPs6QrsngEHA k8s.io/kube-openapi v0.0.0-20240105020646-a37d4de58910/go.mod h1:Pa1PvrP7ACSkuX6I7KYomY6cmMA0Tx86waBhDUgoKPw= k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ= k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11 h1:CYoD72R8/R35REjeY2nnWfBak+Q3f+NxXwEfwcID1eU= -knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20240516132600-507209b2bf6f h1:+K321QB+dTAArNPHRfhrIzDcG0nwX3GrqO3IzBzAJF8= -knative.dev/networking v0.0.0-20240516132600-507209b2bf6f/go.mod h1:bKoqFoKxbixmcRyN8LKt4ye+tyZ/NNw2xmcyFU03lsM= -knative.dev/pkg v0.0.0-20240521083825-99e1685a7997 h1:MN/u8ivos957WdihUjKfFw1Qv9HZ3+pe4TOwdYQiB2Q= -knative.dev/pkg v0.0.0-20240521083825-99e1685a7997/go.mod h1:GHFUP1wtD/bR/c02QADqaAK3odDJh1ddBMvXhq/goy8= +knative.dev/hack v0.0.0-20240529131459-3b6d6441e7ea h1:iWW6SNMrVd2hI5Y+ltKIEzXVedoQLL86b23dS5fkvXs= +knative.dev/hack v0.0.0-20240529131459-3b6d6441e7ea/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/networking v0.0.0-20240529132623-11202c520534 h1:YeSYUcpXsh2EcNqCKhHslBG9tW53k3r1j/EwSASyDrY= +knative.dev/networking v0.0.0-20240529132623-11202c520534/go.mod h1:LFhDu22ymaEZFnFBUoSoo4Y4l+KWXujH5yQQNOaEwBc= +knative.dev/pkg v0.0.0-20240529130935-ff4756ab9454 h1:ZEKQkpoWelVG3TB+pnWh/hJsoyRvS9n3IWu9hkjeCqs= +knative.dev/pkg v0.0.0-20240529130935-ff4756ab9454/go.mod h1:GHFUP1wtD/bR/c02QADqaAK3odDJh1ddBMvXhq/goy8= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/pkg/test/ha/ha.go b/vendor/knative.dev/pkg/test/ha/ha.go index eb991fcf8..36977c833 100644 --- a/vendor/knative.dev/pkg/test/ha/ha.go +++ b/vendor/knative.dev/pkg/test/ha/ha.go @@ -57,7 +57,8 @@ func GetLeaders(ctx context.Context, t *testing.T, client kubernetes.Interface, } ret := make([]string, 0, len(leases.Items)) for _, lease := range leases.Items { - if lease.Spec.HolderIdentity == nil { + if lease.Spec.HolderIdentity == nil || *lease.Spec.HolderIdentity == "" { + t.Logf("GetLeaders[%s] skipping lease %s as it has no holder", deploymentName, lease.Name) continue } pod := strings.SplitN(*lease.Spec.HolderIdentity, "_", 2)[0] diff --git a/vendor/modules.txt b/vendor/modules.txt index 2d1832375..299fa02cb 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -887,10 +887,10 @@ k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11 +# knative.dev/hack v0.0.0-20240529131459-3b6d6441e7ea ## explicit; go 1.18 knative.dev/hack -# knative.dev/networking v0.0.0-20240516132600-507209b2bf6f +# knative.dev/networking v0.0.0-20240529132623-11202c520534 ## explicit; go 1.21 knative.dev/networking/config knative.dev/networking/pkg @@ -934,7 +934,7 @@ knative.dev/networking/test/test_images/runtime/handlers knative.dev/networking/test/test_images/timeout knative.dev/networking/test/test_images/wsserver knative.dev/networking/test/types -# knative.dev/pkg v0.0.0-20240521083825-99e1685a7997 +# knative.dev/pkg v0.0.0-20240529130935-ff4756ab9454 ## explicit; go 1.21 knative.dev/pkg/apis knative.dev/pkg/apis/duck