spec icon indicating copy to clipboard operation
spec copied to clipboard

Regenerate with protoc-gen-go 1.3.5

Open jsafrane opened this issue 5 months ago • 1 comments

Regenerated csi.pb.go with older protoc-gen-go to restore grpc message structures.

go.mod has github.com/golang/protobuf 1.5.3, which has a protoc-gen-go that generates code that introduces breaking changes, see #570.

Instead of 1.5.3, download github.com/golang/protobuf v1.3.2 separately, build protoc-gen-go from it and use it to generate csi.pb.go. The code is copied from the previous release of CSI spec, only with minor changes.

A future update to 1.5.3 must be done carefully and announce a breaking change.

Which issue(s) this PR fixes:

Fixes #570

Does this PR introduce an API-breaking change?:

Restored generated protobuf go message structures compatible with CSI spec v1.9.0.

jsafrane avatar Aug 26 '24 19:08 jsafrane