Cleanup unused param in provisionPartitionedTopicPath
@@ -630,7 +630,7 @@ public abstract class AdminResource extends PulsarWebResource {
return;
}
- provisionPartitionedTopicPath(asyncResponse, numPartitions, createLocalTopicOnly, properties)
+ provisionPartitionedTopicPath(numPartitions, createLocalTopicOnly, properties)
.thenCompose(ignored -> tryCreatePartitionsAsync(numPartitions))
.whenComplete((ignored, ex) -> {
if (ex != null) {
@@ -708,7 +708,7 @@ public abstract class AdminResource extends PulsarWebResource {
});
}
- private CompletableFuture<Void> provisionPartitionedTopicPath(AsyncResponse asyncResponse, int numPartitions,
+ private CompletableFuture<Void> provisionPartitionedTopicPath(int numPartitions,
boolean createLocalTopicOnly,
Map<String, String> properties) {
CompletableFuture<Void> future = new CompletableFuture<>();
