Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Nov 13, 2023
1 parent d713d4a commit fe4bb1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ private CompletableFuture<Optional<TopicPolicies>> getTopicPoliciesBypassSystemT
final ServiceConfiguration serviceConfiguration = pulsar.getConfiguration();
if (serviceConfiguration.isSystemTopicEnabled() && serviceConfiguration.isTopicLevelPoliciesEnabled()
&& !NamespaceService.isSystemServiceNamespace(topicName.getNamespace())
&& !SystemTopicNames.isTopicPoliciesSystemTopic(topicName.toString())) {
&& !EventsTopicNames.isTopicPoliciesSystemTopic(topicName.toString())) {
return pulsar.getTopicPoliciesService().getTopicPoliciesAsync(topicName);
} else {
return CompletableFuture.completedFuture(Optional.empty());
Expand Down

0 comments on commit fe4bb1a

Please sign in to comment.