diff --git a/go.mod b/go.mod index 7f9e48c6e..691195fee 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,6 @@ require ( k8s.io/client-go v0.22.5 k8s.io/code-generator v0.22.5 knative.dev/hack v0.0.0-20220224013837-e1785985d364 - knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 + knative.dev/pkg v0.0.0-20220310195447-38af013b30ff sigs.k8s.io/yaml v1.3.0 ) diff --git a/go.sum b/go.sum index 1d1f23b27..5020c6770 100644 --- a/go.sum +++ b/go.sum @@ -1121,8 +1121,8 @@ k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a h1:8dYfu/Fc9Gz2rNJKB9IQRGgQOh2cl k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= knative.dev/hack v0.0.0-20220224013837-e1785985d364 h1:wOysRDkzacHlM2OEQoM5ayNT+s/Zymzk5Tv17RL++3g= knative.dev/hack v0.0.0-20220224013837-e1785985d364/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 h1:eIH936a0/1X/XQOMN9+O3fw9spGvOJiMVKsBuu8J47U= -knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77/go.mod h1:SsH9J6Gz+CvrHmoL0TELJXmMmohqKSQ5bpJvCv+1+ZI= +knative.dev/pkg v0.0.0-20220310195447-38af013b30ff h1:KrKiBc0dMUq/+Fd0M3J86RdNOViEQYm/rOEHTCPzqR4= +knative.dev/pkg v0.0.0-20220310195447-38af013b30ff/go.mod h1:SsH9J6Gz+CvrHmoL0TELJXmMmohqKSQ5bpJvCv+1+ZI= pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= 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= diff --git a/vendor/knative.dev/pkg/leaderelection/config.go b/vendor/knative.dev/pkg/leaderelection/config.go index 3ef47483d..13e0832e5 100644 --- a/vendor/knative.dev/pkg/leaderelection/config.go +++ b/vendor/knative.dev/pkg/leaderelection/config.go @@ -101,10 +101,11 @@ func (c *Config) GetComponentConfig(name string) ComponentConfig { func defaultConfig() *Config { return &Config{ - Buckets: 1, - LeaseDuration: 60 * time.Second, - RenewDeadline: 40 * time.Second, - RetryPeriod: 10 * time.Second, + Buckets: 1, + LeaseDuration: 60 * time.Second, + RenewDeadline: 40 * time.Second, + RetryPeriod: 10 * time.Second, + LeaseNamesPrefixMapping: make(map[string]string), } } diff --git a/vendor/modules.txt b/vendor/modules.txt index c340a0154..bd0fd93a2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -616,7 +616,7 @@ k8s.io/utils/trace # knative.dev/hack v0.0.0-20220224013837-e1785985d364 ## explicit knative.dev/hack -# knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 +# knative.dev/pkg v0.0.0-20220310195447-38af013b30ff ## explicit knative.dev/pkg/apis knative.dev/pkg/apis/duck