Skip to content

Commit

Permalink
fix(porter): update EnablePorter
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Jun 15, 2024
1 parent 73fc847 commit d19ac2e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proto/librarian/porter/v1/porter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@ message PorterFeatureSummary {

message EnablePorterRequest {
// Identifier of sephirah. can be randomly generated.
// porter can only be enabled by on sephirah.
// porter can only be enabled by one sephirah.
// redundancy requests from enabler must return success.
int64 sephirah_id = 1;
// Porter should refresh token before response to verify reverse call is available.
string refresh_token = 2;
// Used to perform reverse call.
// If not needed, porter should ignore it.
// If needed, porter should refresh token before response to verify reverse call is available.
// Enabler can send empty token as default, and resend request with token if needed.
optional string refresh_token = 2;
}
message EnablePorterResponse {}

Expand Down

0 comments on commit d19ac2e

Please sign in to comment.