You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by le...@apache.org on 2022/08/04 03:12:46 UTC
[inlong] branch master updated: [INLONG-5349][Dashboard] Failed to create stream (#5350)
This is an automated email from the ASF dual-hosted git repository.
leezng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 13283cb50 [INLONG-5349][Dashboard] Failed to create stream (#5350)
13283cb50 is described below
commit 13283cb50ccfebd4a996c444bef489272c937aa6
Author: Daniel <le...@outlook.com>
AuthorDate: Thu Aug 4 11:12:42 2022 +0800
[INLONG-5349][Dashboard] Failed to create stream (#5350)
---
inlong-dashboard/src/pages/AccessDetail/DataStream/StreamItemModal.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataStream/StreamItemModal.tsx b/inlong-dashboard/src/pages/AccessDetail/DataStream/StreamItemModal.tsx
index e15fda32f..f173f35d1 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataStream/StreamItemModal.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataStream/StreamItemModal.tsx
@@ -109,7 +109,7 @@ const Comp: React.FC<Props> = ({ inlongGroupId, inlongStreamId, mqType, ...modal
const submitData = valuesToData(values ? [values] : [], inlongGroupId);
await request({
- url: '/stream/update',
+ url: inlongStreamId ? '/stream/update' : '/stream/save',
method: 'POST',
data: submitData?.[0],
});