Signed-off-by: John Howard <jhoward@microsoft.com>
| ... | ... |
@@ -15,7 +15,6 @@ import ( |
| 15 | 15 |
"github.com/docker/docker/api/types/registry" |
| 16 | 16 |
"github.com/docker/docker/api/types/swarm" |
| 17 | 17 |
"github.com/docker/go-connections/nat" |
| 18 |
- specs "github.com/opencontainers/image-spec/specs-go/v1" |
|
| 19 | 18 |
) |
| 20 | 19 |
|
| 21 | 20 |
// RootFS returns Image's RootFS description including the layer IDs. |
| ... | ... |
@@ -328,7 +327,7 @@ type ContainerJSONBase struct {
|
| 328 | 328 |
Name string |
| 329 | 329 |
RestartCount int |
| 330 | 330 |
Driver string |
| 331 |
- Platform specs.Platform |
|
| 331 |
+ Platform string |
|
| 332 | 332 |
MountLabel string |
| 333 | 333 |
ProcessLabel string |
| 334 | 334 |
AppArmorProfile string |
| ... | ... |
@@ -13,7 +13,6 @@ import ( |
| 13 | 13 |
"github.com/docker/docker/daemon/network" |
| 14 | 14 |
volumestore "github.com/docker/docker/volume/store" |
| 15 | 15 |
"github.com/docker/go-connections/nat" |
| 16 |
- specs "github.com/opencontainers/image-spec/specs-go/v1" |
|
| 17 | 16 |
) |
| 18 | 17 |
|
| 19 | 18 |
// ContainerInspect returns low-level information about a |
| ... | ... |
@@ -172,7 +171,7 @@ func (daemon *Daemon) getInspectData(container *container.Container) (*types.Con |
| 172 | 172 |
Name: container.Name, |
| 173 | 173 |
RestartCount: container.RestartCount, |
| 174 | 174 |
Driver: container.Driver, |
| 175 |
- Platform: specs.Platform{OS: container.OS},
|
|
| 175 |
+ Platform: container.OS, |
|
| 176 | 176 |
MountLabel: container.MountLabel, |
| 177 | 177 |
ProcessLabel: container.ProcessLabel, |
| 178 | 178 |
ExecIDs: container.GetExecIDs(), |