From 3f1a52e6edbd415dfcc6f92806367e09061ada41 Mon Sep 17 00:00:00 2001 From: Daisuke Kobayashi Date: Fri, 20 Sep 2024 10:18:43 +0900 Subject: [PATCH] rpk: topic describe --regex supports internal topics --- src/go/rpk/pkg/cli/topic/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/rpk/pkg/cli/topic/utils.go b/src/go/rpk/pkg/cli/topic/utils.go index 3704931dd4e54..8c38dc2d24488 100644 --- a/src/go/rpk/pkg/cli/topic/utils.go +++ b/src/go/rpk/pkg/cli/topic/utils.go @@ -52,7 +52,7 @@ func parseKVs(in []string) (map[string]string, error) { func regexTopics(adm *kadm.Client, expressions []string) ([]string, error) { // Now we list all topics to match against our expressions. - topics, err := adm.ListTopics(context.Background()) + topics, err := adm.ListTopicsWithInternal(context.Background()) if err != nil { return nil, fmt.Errorf("unable to list topics: %w", err) }