Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename SandboxSnapshotFromId to SandboxSnapshotGet #2800

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2326,14 +2326,6 @@ message SandboxRestoreResponse {
string sandbox_id = 1;
}

message SandboxSnapshotFromIdRequest {
string snapshot_id = 1;
}

message SandboxSnapshotFromIdResponse {
string snapshot_id = 1;
}

message SandboxSnapshotFsRequest {
string sandbox_id = 1;
float timeout = 2;
Expand All @@ -2346,6 +2338,14 @@ message SandboxSnapshotFsResponse {
ImageMetadata image_metadata = 3;
}

message SandboxSnapshotGetRequest {
string snapshot_id = 1;
}

message SandboxSnapshotGetResponse {
string snapshot_id = 1;
}

message SandboxSnapshotRequest {
string sandbox_id = 1;
}
Expand Down Expand Up @@ -2989,8 +2989,8 @@ service ModalClient {
rpc SandboxList(SandboxListRequest) returns (SandboxListResponse);
rpc SandboxRestore(SandboxRestoreRequest) returns (SandboxRestoreResponse);
rpc SandboxSnapshot(SandboxSnapshotRequest) returns (SandboxSnapshotResponse);
rpc SandboxSnapshotFromId(SandboxSnapshotFromIdRequest) returns (SandboxSnapshotFromIdResponse);
rpc SandboxSnapshotFs(SandboxSnapshotFsRequest) returns (SandboxSnapshotFsResponse);
rpc SandboxSnapshotGet(SandboxSnapshotGetRequest) returns (SandboxSnapshotGetResponse);
rpc SandboxSnapshotWait(SandboxSnapshotWaitRequest) returns (SandboxSnapshotWaitResponse);
rpc SandboxStdinWrite(SandboxStdinWriteRequest) returns (SandboxStdinWriteResponse);
rpc SandboxTagsSet(SandboxTagsSetRequest) returns (google.protobuf.Empty);
Expand Down
Loading