From 688c42a971589be96921ce362c7fc6792368c3da Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 09:08:53 -0600 Subject: [PATCH] fix(deps): update github.com/twmb/franz-go/pkg/kfake digest to cea7aa5 (#14590) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/twmb/franz-go/pkg/kfake/data.go | 4 +++- vendor/modules.txt | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 6a9f827250564..75ce97ec05761 100644 --- a/go.mod +++ b/go.mod @@ -142,7 +142,7 @@ require ( github.com/thanos-io/objstore v0.0.0-20241015070247-5f04b8b0b52a github.com/twmb/franz-go v1.17.1 github.com/twmb/franz-go/pkg/kadm v1.13.0 - github.com/twmb/franz-go/pkg/kfake v0.0.0-20240821035758-b77dd13e2bfa + github.com/twmb/franz-go/pkg/kfake v0.0.0-20241015013301-cea7aa5d8037 github.com/twmb/franz-go/pkg/kmsg v1.8.0 github.com/twmb/franz-go/plugin/kotel v1.5.0 github.com/twmb/franz-go/plugin/kprom v1.1.0 diff --git a/go.sum b/go.sum index c4be2fc1151b3..c47d356cc10d3 100644 --- a/go.sum +++ b/go.sum @@ -1831,8 +1831,8 @@ github.com/twmb/franz-go v1.17.1 h1:0LwPsbbJeJ9R91DPUHSEd4su82WJWcTY1Zzbgbg4CeQ= github.com/twmb/franz-go v1.17.1/go.mod h1:NreRdJ2F7dziDY/m6VyspWd6sNxHKXdMZI42UfQ3GXM= github.com/twmb/franz-go/pkg/kadm v1.13.0 h1:bJq4C2ZikUE2jh/wl9MtMTQ/kpmnBgVFh8XMQBEC+60= github.com/twmb/franz-go/pkg/kadm v1.13.0/go.mod h1:VMvpfjz/szpH9WB+vGM+rteTzVv0djyHFimci9qm2C0= -github.com/twmb/franz-go/pkg/kfake v0.0.0-20240821035758-b77dd13e2bfa h1:OmQ4DJhqeOPdIH60Psut1vYU8A6LGyxJbF09w5RAa2w= -github.com/twmb/franz-go/pkg/kfake v0.0.0-20240821035758-b77dd13e2bfa/go.mod h1:nkBI/wGFp7t1NJnnCeJdS4sX5atPAqwCPpDXKuI7SC8= +github.com/twmb/franz-go/pkg/kfake v0.0.0-20241015013301-cea7aa5d8037 h1:M4Zj79q1OdZusy/Q8TOTttvx/oHkDVY7sc0xDyRnwWs= +github.com/twmb/franz-go/pkg/kfake v0.0.0-20241015013301-cea7aa5d8037/go.mod h1:nkBI/wGFp7t1NJnnCeJdS4sX5atPAqwCPpDXKuI7SC8= github.com/twmb/franz-go/pkg/kmsg v1.8.0 h1:lAQB9Z3aMrIP9qF9288XcFf/ccaSxEitNA1CDTEIeTA= github.com/twmb/franz-go/pkg/kmsg v1.8.0/go.mod h1:HzYEb8G3uu5XevZbtU0dVbkphaKTHk0X68N5ka4q6mU= github.com/twmb/franz-go/plugin/kotel v1.5.0 h1:TiPfGUbQK384OO7ZYGdo7JuPCbJn+/8njQ/D9Je9CDE= diff --git a/vendor/github.com/twmb/franz-go/pkg/kfake/data.go b/vendor/github.com/twmb/franz-go/pkg/kfake/data.go index 9f5d46c6b8687..566d51b69560b 100644 --- a/vendor/github.com/twmb/franz-go/pkg/kfake/data.go +++ b/vendor/github.com/twmb/franz-go/pkg/kfake/data.go @@ -92,7 +92,9 @@ func (d *data) mkt(t string, nparts int, nreplicas int, configs map[string]*stri d.id2t[id] = t d.t2id[t] = id d.treplicas[t] = nreplicas - d.tcfgs[t] = configs + if configs != nil { + d.tcfgs[t] = configs + } for i := 0; i < nparts; i++ { d.tps.mkp(t, int32(i), d.c.newPartData) } diff --git a/vendor/modules.txt b/vendor/modules.txt index d30a86aa29e7b..5c2359b42266b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1627,7 +1627,7 @@ github.com/twmb/franz-go/pkg/sasl/plain # github.com/twmb/franz-go/pkg/kadm v1.13.0 ## explicit; go 1.21 github.com/twmb/franz-go/pkg/kadm -# github.com/twmb/franz-go/pkg/kfake v0.0.0-20240821035758-b77dd13e2bfa +# github.com/twmb/franz-go/pkg/kfake v0.0.0-20241015013301-cea7aa5d8037 ## explicit; go 1.21 github.com/twmb/franz-go/pkg/kfake # github.com/twmb/franz-go/pkg/kmsg v1.8.0