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 13, 2024
1 parent 53e91bc commit af1a7d9
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 85 deletions.
168 changes: 84 additions & 84 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 af1a7d9

Please sign in to comment.