mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
refactor: api.Container to use the detailed ContainerJSON struct instead of Container (Summary)
This commit is contained in:
@@ -461,7 +461,7 @@ type MachineContainers struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
||||
// JSON serialized []container.Summary.
|
||||
// JSON serialized []container.ContainerJSON.
|
||||
Containers []byte `protobuf:"bytes,2,opt,name=containers,proto3" json:"containers,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ message ListContainersResponse {
|
||||
|
||||
message MachineContainers {
|
||||
Metadata metadata = 1;
|
||||
// JSON serialized []container.Summary.
|
||||
// JSON serialized []container.ContainerJSON.
|
||||
bytes containers = 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user