Skip to content

Commit

Permalink
rpk: enable describing storage on internal topics
Browse files Browse the repository at this point in the history
  • Loading branch information
r-vasquez committed Jul 25, 2024
1 parent 46fc276 commit 966cbac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/cli/topic/describe_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func newDescribeStorageCommand(fs afero.Fs, p *config.Params) *cobra.Command {
out.MaybeDie(err, "unable to initialize admin client: %v", err)

topic := args[0]
listed, err := cl.ListTopics(cmd.Context(), topic)
listed, err := cl.ListTopicsWithInternal(cmd.Context(), topic)
out.MaybeDie(err, "unable to list topic %q metadata: %v", topic, err)
listed.EachError(func(d kadm.TopicDetail) {
out.Die("unable to discover the partitions on topic %q: %v", d.Topic, d.Err)
Expand Down

0 comments on commit 966cbac

Please sign in to comment.