mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
Merge the two types instead of embedding the ContainerJSONBase. This should have no impact on the API response, but users constructing a response through struct literals will need to update their code. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
313 B
Go
12 lines
313 B
Go
package daemon
|
|
|
|
import (
|
|
"github.com/moby/moby/api/types/container"
|
|
containerpkg "github.com/moby/moby/v2/daemon/container"
|
|
)
|
|
|
|
// This sets platform-specific fields
|
|
func setPlatformSpecificContainerFields(ctr *containerpkg.Container, resp *container.InspectResponse) *container.InspectResponse {
|
|
return resp
|
|
}
|