Skip to content

Commit

Permalink
Add package name to the protocol buffer definition
Browse files Browse the repository at this point in the history
Add package name to the protocol buffer definition file to avoid the
namespace conflict.

Longhorn 3343

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
  • Loading branch information
JenTing Hsiao authored and innobead committed Mar 18, 2022
1 parent 0103fcb commit ab37894
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 75 deletions.
154 changes: 79 additions & 75 deletions pkg/rpc/rpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pkg/rpc/rpc.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
syntax="proto3";

package longhorn.backingimagemanager.pkg.rpc;

import "google/protobuf/empty.proto";

option go_package = "rpc";

service BackingImageManagerService {
rpc Delete(DeleteRequest) returns (google.protobuf.Empty) {}
rpc Get(GetRequest) returns (BackingImageResponse) {}
Expand Down

0 comments on commit ab37894

Please sign in to comment.