mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
api: remove unused RootFS.BaseLayer
This field was used when Windows did not yet support regular images, and required
the base-image to pre-exist on the Windows machine (as those layers were not yet
allowed to be distributed).
Commit f342b27145
(docker 1.13.0, API v1.25) removed
usage of the field.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3c6c9fa180
commit
25c896fcc2
1 changed files with 2 additions and 3 deletions
|
@ -19,9 +19,8 @@ import (
|
||||||
|
|
||||||
// RootFS returns Image's RootFS description including the layer IDs.
|
// RootFS returns Image's RootFS description including the layer IDs.
|
||||||
type RootFS struct {
|
type RootFS struct {
|
||||||
Type string
|
Type string `json:",omitempty"`
|
||||||
Layers []string `json:",omitempty"`
|
Layers []string `json:",omitempty"`
|
||||||
BaseLayer string `json:",omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ImageInspect contains response of Engine API:
|
// ImageInspect contains response of Engine API:
|
||||||
|
|
Loading…
Add table
Reference in a new issue