mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4dd86a0b33
- prefer error over panic where possible - ContainerChanges is not implemented by snapshotter-based ImageService Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
416 B
Go
14 lines
416 B
Go
package containerd
|
|
|
|
import (
|
|
"errors"
|
|
|
|
imagetype "github.com/docker/docker/api/types/image"
|
|
"github.com/docker/docker/errdefs"
|
|
)
|
|
|
|
// ImageHistory returns a slice of ImageHistory structures for the specified
|
|
// image name by walking the image lineage.
|
|
func (i *ImageService) ImageHistory(name string) ([]*imagetype.HistoryResponseItem, error) {
|
|
return nil, errdefs.NotImplemented(errors.New("not implemented"))
|
|
}
|