You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/06/10 03:57:20 UTC
[incubator-devlake] branch main updated: fix: api_collector is missing the value of the input parameter (#2154)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new a765798c fix: api_collector is missing the value of the input parameter (#2154)
a765798c is described below
commit a765798c546020973b54aa395e6880aec21425ac
Author: abeizn <10...@users.noreply.github.com>
AuthorDate: Fri Jun 10 11:57:14 2022 +0800
fix: api_collector is missing the value of the input parameter (#2154)
---
plugins/helper/api_collector.go | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/helper/api_collector.go b/plugins/helper/api_collector.go
index a185b1a6..2dea9bce 100644
--- a/plugins/helper/api_collector.go
+++ b/plugins/helper/api_collector.go
@@ -195,7 +195,8 @@ func (collector *ApiCollector) fetchPagesDetermined(reqData *RequestData) {
Skip: collector.args.PageSize * (page - 1),
Size: collector.args.PageSize,
},
- Input: reqData.Input,
+ Input: reqData.Input,
+ InputJSON: reqData.InputJSON,
}
collector.fetchAsync(reqDataTemp, nil)
}
@@ -232,7 +233,8 @@ func (collector *ApiCollector) fetchPagesUndetermined(reqData *RequestData) {
Size: collector.args.PageSize,
Skip: collector.args.PageSize * (i),
},
- Input: reqData.Input,
+ Input: reqData.Input,
+ InputJSON: reqData.InputJSON,
}
var collect func() error
collect = func() error {