Skip to content

Commit

Permalink
[improve][admin] Fix NPE in admin-CLI topic stats command (#18326)
Browse files Browse the repository at this point in the history
Co-authored-by: Vineeth <vineeth.polamreddy@verizonmedia.com>
  • Loading branch information
vineeth1995 and Vineeth authored Nov 3, 2022
1 parent fd246a9 commit 251d9fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private class GetStats extends CliCommand {
@Override
void run() throws PulsarAdminException {
String persistentTopic = validatePersistentTopic(params);
print(persistentTopics.getStats(persistentTopic, getPreciseBacklog));
print(getPersistentTopics().getStats(persistentTopic, getPreciseBacklog));
}
}

Expand Down

0 comments on commit 251d9fd

Please sign in to comment.