From commits-return-23419-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Fri Mar 1 08:40:19 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D3661180676 for ; Fri, 1 Mar 2019 09:40:18 +0100 (CET) Received: (qmail 35097 invoked by uid 500); 1 Mar 2019 08:40:17 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 35079 invoked by uid 99); 1 Mar 2019 08:40:17 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2019 08:40:17 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] murong00 commented on issue #3726: functions cli received HTTP 404 when trying to inspect a build-in I/O connector Message-ID: <155142961709.16970.9574257244642121523.gitbox@gitbox.apache.org> Date: Fri, 01 Mar 2019 08:40:17 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit murong00 commented on issue #3726: functions cli received HTTP 404 when trying to inspect a build-in I/O connector URL: https://github.com/apache/pulsar/issues/3726#issuecomment-468587961 This is probably due to: https://github.com/apache/pulsar/blob/master/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/ComponentImpl.java#L922 the method `calculateSubjectType` returns the actual component Type `SINK`, but the variable `componentType` initialized by `Utils.ComponentType.FUNCTION` via constructor `FunctionsImpl` in `FunctionsBase.functions`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services