Skip to content

Commit

Permalink
Add GenericResult to sandbox tunnels response (#2171)
Browse files Browse the repository at this point in the history
This allows us to know if the SandboxGetTunnels RPC returned because of
a timeout or full data.
  • Loading branch information
pawalt committed Aug 30, 2024
1 parent 67069e1 commit 0440ad6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,8 @@ message SandboxGetTunnelsRequest {
}

message SandboxGetTunnelsResponse {
repeated TunnelData tunnels = 1;
GenericResult result = 1;
repeated TunnelData tunnels = 2;
}

message SandboxHandleMetadata {
Expand Down

0 comments on commit 0440ad6

Please sign in to comment.