diff options
| author | wbc6080 <wangbincheng4@huawei.com> | 2023-09-26 17:22:29 +0800 |
|---|---|---|
| committer | wbc6080 <wangbincheng4@huawei.com> | 2023-10-09 17:38:13 +0800 |
| commit | cffdff9ede636de3c23e357a08346c32353058aa (patch) | |
| tree | c2e05590e80d1b8739a42235f0a43e0c9f9a5ec8 /hack | |
| parent | Merge pull request #5040 from Onion-of-dreamed/fix/without-mqtt-tag (diff) | |
| download | kubeedge-cffdff9ede636de3c23e357a08346c32353058aa.tar.gz | |
update to v1beta1 version
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
Co-authored-by: QiQi-OvO <2763359332@qq.com>
Diffstat (limited to 'hack')
| -rwxr-xr-x | hack/generate-dmi-proto.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/generate-dmi-proto.sh b/hack/generate-dmi-proto.sh index 4496511ff..ad8cb881b 100755 --- a/hack/generate-dmi-proto.sh +++ b/hack/generate-dmi-proto.sh @@ -61,7 +61,8 @@ COPY_RIGHT_INFO_LINE_10='limitations under the License.\n*/\n' cd ${DMI_DIR} -protoc -I "${DMI_VERSION}"/ --go_out=plugins=grpc:"${DMI_VERSION}" "${DMI_VERSION}/${DMI_API_FILE}" +#protoc -I "${DMI_VERSION}"/ --go_out=plugins=grpc:"${DMI_VERSION}" "${DMI_VERSION}/${DMI_API_FILE}" +protoc -I "${DMI_VERSION}/" --go_out="${DMI_VERSION}" --go-grpc_out="${DMI_VERSION}" "${DMI_VERSION}/${DMI_API_FILE}" sed -i '2,15d' "${DMI_VERSION}/${DMI_API_GO_FILE}" sed -i "1i\ $COPY_RIGHT_INFO_LINE_10" "${DMI_VERSION}/${DMI_API_GO_FILE}" |
