Skip to content

Commit

Permalink
chore(deps): add ldflag to stop panic
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <[email protected]>
  • Loading branch information
Abhinandan-Purkait committed Nov 22, 2023
1 parent cb98cda commit a95cc0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildscripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ fi
env GOOS=$GOOS GOARCH=$GOARCH go build -ldflags \
"-X github.com/openebs/cstor-csi/pkg/version.GitCommit=${GIT_COMMIT} \
-X main.CtlName='${CTLNAME}' \
-X github.com/openebs/cstor-csi/pkg/version.Version=${VERSION}" \
-X github.com/openebs/cstor-csi/pkg/version.Version=${VERSION} \
-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" \
-o $output_name\
./cmd

Expand Down

0 comments on commit a95cc0d

Please sign in to comment.