Skip to content

Commit

Permalink
fix(pluginsocket.proto): type for set_upstream
Browse files Browse the repository at this point in the history
Fix the return type for the `.Service.SetUpstream` external plugin PDK
method.

Fixes issue #114.

Sister PR: Kong/kong#12727
  • Loading branch information
gszr committed Mar 12, 2024
1 parent 26cc433 commit c5f5348
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 86 deletions.
174 changes: 89 additions & 85 deletions server/kong_plugin_protocol/pluginsocket.pb.go

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

2 changes: 1 addition & 1 deletion server/kong_plugin_protocol/pluginsocket.proto
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ service Kong {
rpc Router_GetRoute(google.protobuf.Empty) returns (Route);
rpc Router_GetService(google.protobuf.Empty) returns (Service);

rpc Service_SetUpstream(String) returns (google.protobuf.Empty);
rpc Service_SetUpstream(String) returns (Bool);
rpc Service_SetTarget(Target) returns (google.protobuf.Empty);

rpc Service_Request_SetScheme(String) returns (google.protobuf.Empty);
Expand Down

0 comments on commit c5f5348

Please sign in to comment.