diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 29d0b14..33b44a7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: false jobs: diff --git a/Makefile b/Makefile index eb29554..042bd34 100644 --- a/Makefile +++ b/Makefile @@ -70,9 +70,9 @@ generate: curl -L -o thrift/iotdb-tools-thrift.zip https://repo1.maven.org/maven2/org/apache/iotdb/tools/iotdb-tools-thrift/0.14.1.0/iotdb-tools-thrift-0.14.1.0-$(OS_CLASSIFIER).zip; \ unzip -o thrift/iotdb-tools-thrift.zip -d thrift; \ curl -o common.thrift https://raw.githubusercontent.com/apache/iotdb/master/iotdb-protocol/thrift-commons/src/main/thrift/common.thrift; \ - $(THRIFT_EXEC) -out . -gen go common.thrift; \ + $(THRIFT_EXEC) -out . -gen go:package_prefix=github.com/apache/iotdb-client-go/ common.thrift; \ curl -o client.thrift https://raw.githubusercontent.com/apache/iotdb/master/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift; \ - $(THRIFT_EXEC) -out . -gen go client.thrift; \ + $(THRIFT_EXEC) -out . -gen go:package_prefix=github.com/apache/iotdb-client-go/ client.thrift; \ rm -f common.thrift; \ rm -f client.thrift; \ fi diff --git a/rpc/client-consts.go b/rpc/client-consts.go index 9065c5c..d1e6cf5 100644 --- a/rpc/client-consts.go +++ b/rpc/client-consts.go @@ -8,7 +8,7 @@ import( "fmt" "time" "github.com/apache/thrift/lib/go/thrift" - "common" + "github.com/apache/iotdb-client-go/common" ) diff --git a/rpc/client.go b/rpc/client.go index 1c9372c..f9d6ca6 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -10,7 +10,7 @@ import( "fmt" "time" "github.com/apache/thrift/lib/go/thrift" - "common" + "github.com/apache/iotdb-client-go/common" )