From 7c9f66a7394c06ad8af0934e34b113f9c965bc98 Mon Sep 17 00:00:00 2001 From: Noor Date: Mon, 3 Feb 2025 17:30:36 +0530 Subject: [PATCH] Update daemon.proto to replace container_id with uuid and modify DeleteContainer response type --- proto/daemon.proto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/proto/daemon.proto b/proto/daemon.proto index 8bb2a66..b7a4453 100644 --- a/proto/daemon.proto +++ b/proto/daemon.proto @@ -31,7 +31,7 @@ message LogResp { message ContainerFilters { string admin_pubkey = 1; - optional string container_id = 2; + optional string uuid= 2; } message ContainerListResp { @@ -39,7 +39,7 @@ message ContainerListResp { } message DeleteContainerRes { - optional string container_id = 1; + string uuid = 1; string status = 2; } @@ -57,7 +57,6 @@ message DaemonMessage { oneof Msg { shared.Pubkey pubkey = 1; NewContainerRes new_container_resp = 2; - DeleteContainerRes delete_container_resp = 3; } } @@ -73,7 +72,7 @@ message DaemonMessage { service BrainSgxCli { rpc CreateContainer (shared.Container) returns (NewContainerRes); - rpc DeleteContainer (ContainerFilters) returns (DeleteContainerRes); + rpc DeleteContainer (ContainerFilters) returns (shared.Empty); rpc ListContainers (ContainerFilters) returns (ContainerListResp); // rpc InspectContainer (shared.UUID) returns (ContainerInspectResp); // rpc ContainerLog (shared.UUID) returns (stream LogResp);