This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 635f2239c [INLONG-3721][Dashboard] Submit data when source is
AUTO_PUSH (#3722)
635f2239c is described below
commit 635f2239c26a4ce095ebaaaaaf67036b34a44746
Author: Daniel <[email protected]>
AuthorDate: Fri Apr 15 11:05:23 2022 +0800
[INLONG-3721][Dashboard] Submit data when source is AUTO_PUSH (#3722)
---
inlong-dashboard/src/pages/AccessCreate/DataStream/helper.ts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/inlong-dashboard/src/pages/AccessCreate/DataStream/helper.ts
b/inlong-dashboard/src/pages/AccessCreate/DataStream/helper.ts
index f8a5871ae..dac7a34c2 100644
--- a/inlong-dashboard/src/pages/AccessCreate/DataStream/helper.ts
+++ b/inlong-dashboard/src/pages/AccessCreate/DataStream/helper.ts
@@ -39,6 +39,15 @@ export const valuesToData = (values, inlongGroupId) => {
inlongStreamId,
};
});
+ } else {
+ output.sourceInfo = [
+ {
+ sourceType: dataSourceType,
+ sourceName: inlongStreamId,
+ inlongGroupId,
+ inlongStreamId,
+ },
+ ];
}
output.sinkInfo = streamSink.reduce((acc, type) => {