api/execution: use Empty well-known type

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2016-12-02 16:04:13 -08:00
parent 35822784c5
commit d9a2f40463
No known key found for this signature in database
GPG key ID: FB5F6B2905D7ECF3
7 changed files with 118 additions and 441 deletions

View file

@ -3,12 +3,12 @@ syntax = "proto3";
package containerd.v1;
import "container.proto";
import "empty.proto";
import "google/protobuf/empty.proto";
import "gogoproto/gogo.proto";
service ExecutionService{
rpc Create(CreateContainerRequest) returns (CreateContainerResponse);
rpc Delete(DeleteContainerRequest) returns (Empty);
rpc Delete(DeleteContainerRequest) returns (google.protobuf.Empty);
rpc List(ListContainersRequest) returns (ListContainersResponse);
}