This is an automated email from the ASF dual-hosted git repository.
miao pushed a commit to branch grafana_plugin
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/grafana_plugin by this push:
new eae577048c4 Fixed the issue where the Grafana plugin does not display
data when there is no time value
eae577048c4 is described below
commit eae577048c4bfb31535f4f22b25e29818ada59eb
Author: luke.miao <[email protected]>
AuthorDate: Thu Jul 25 16:48:07 2024 +0800
Fixed the issue where the Grafana plugin does not display data when there
is no time value
---
iotdb-connector/grafana-plugin/backend-compile.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/iotdb-connector/grafana-plugin/backend-compile.sh
b/iotdb-connector/grafana-plugin/backend-compile.sh
index 51bfceda934..6674a5bb01a 100755
--- a/iotdb-connector/grafana-plugin/backend-compile.sh
+++ b/iotdb-connector/grafana-plugin/backend-compile.sh
@@ -26,10 +26,10 @@ 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]
+cd $go_path/pkg/mod/github.com/magefile/[email protected]
chmod 755 $go_path/pkg/mod/github.com/magefile/*
-go run $go_path/pkg/mod/github.com/magefile/[email protected]/bootstrap.go
+go run $go_path/pkg/mod/github.com/magefile/[email protected]/bootstrap.go
cd $work_path
$go_path/bin/mage -v