Commit 629438c4 authored by Xiaowu Zhang's avatar Xiaowu Zhang

plugin: remote method become more generic

parent 7ec419ea
......@@ -85,7 +85,7 @@ func FLBPluginFlushCtx(ctx, data unsafe.Pointer, length C.int, tag *C.char) int
if err != nil {
fmt.Fprintf(os.Stderr, "server: loadkey %s", err.Error())
}
uri := fmt.Sprintf("%s/uploadComputerFileMetadata?reference=%s", dict["streamtool_uri"], dict["reference"])
uri := fmt.Sprintf("%s/ingestData?ingestion_policy=metadata_upload&reference=%s", dict["streamtool_uri"], dict["reference"])
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment