Skip to content

Commit

Permalink
rpk: topic describe --regex supports internal topics
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukebe committed Sep 20, 2024
1 parent 80d6263 commit 3f1a52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/cli/topic/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3f1a52e

Please sign in to comment.