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 (docker 1.13.0, API v1.25) removed
usage of the field.
@@ -19,9 +19,8 @@ import (
// RootFS returns Image's RootFS description including the layer IDs.
type RootFS struct {
- Type string
+ Type string `json:",omitempty"`
Layers []string `json:",omitempty"`
- BaseLayer string `json:",omitempty"`
}
// ImageInspect contains response of Engine API:
