cbornet commented on code in PR #16822:
URL: https://github.com/apache/pulsar/pull/16822#discussion_r931208373


##########
pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/FunctionsImpl.java:
##########
@@ -70,11 +71,13 @@
 public class FunctionsImpl extends ComponentResource implements Functions {
 
     private final WebTarget functions;
+    private final WebTarget worker;
     private final AsyncHttpClient asyncHttpClient;
 
     public FunctionsImpl(WebTarget web, Authentication auth, AsyncHttpClient 
asyncHttpClient, long readTimeoutMs) {
         super(auth, readTimeoutMs);
         this.functions = web.path("/admin/v3/functions");
+        this.worker = web.path("/admin/v2/worker");

Review Comment:
   Should `available-functions` be a command of `pulsar-admin workers` instead ?
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to