This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch rel/1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.2 by this push:
     new 1f55f61450c Fix/grafana plugin error (#11043)
1f55f61450c is described below

commit 1f55f61450cd526347531009d4d65e796e5e03be
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Sep 6 05:59:32 2023 +0200

    Fix/grafana plugin error (#11043)
    
    * fix: Hopefully fixed the build of the cpp-example on windows systems
    
    * refactor: Made the MQTT Message take Object instead of just String types.
    
    * fix: Made the grafana-plugin build fail, if the ant tasks for compiling 
fail.
---
 iotdb-connector/grafana-plugin/backend-compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-connector/grafana-plugin/backend-compile.sh 
b/iotdb-connector/grafana-plugin/backend-compile.sh
index 51bfceda934..27e33cf0177 100755
--- a/iotdb-connector/grafana-plugin/backend-compile.sh
+++ b/iotdb-connector/grafana-plugin/backend-compile.sh
@@ -26,7 +26,7 @@ work_path=$(pwd | sed 's/\"//g')
 echo $work_path
 go get -u github.com/grafana/grafana-plugin-sdk-go
 go mod tidy
-check_results=$(go env | grep GOPATH= | sed 's/\"//g')
+check_results=$(go env | grep GOPATH= | sed 's/\"//g' | sed "s/\'//g")
 go_path=${check_results/GOPATH=/}
 cd $go_path/pkg/mod/github.com/magefile/[email protected]
 chmod 755 $go_path/pkg/mod/github.com/magefile/*

Reply via email to