buildkit/source
Ian Campbell 92101de156 Swallow a NotFound error when deleting content, to support schema 1 manifests
The behaviour of `github.com/containerd/containerd/remotes/docker/schema1` is
such that the manifest is not actually in the content store, so attempting to
delete it fails with `NotFound`, which with the `gateway.v0` frontend results
in:

    time="2018-02-26T17:01:15Z" level=error msg="fatal error: rpc error: code = Unknown desc = content digest sha256:178598e51a26abbc958b8a2e48825c90bc22e641de3d31e18aaf55f3258ba93b: not found"
    panic: rpc error: code = Unknown desc = content digest sha256:178598e51a26abbc958b8a2e48825c90bc22e641de3d31e18aaf55f3258ba93b: not found

It seems safe to just ignore these errors, since `NotFound` is what we wanted
after delete anyway.

This allows support for e.g. `llb.Image("docker.io/docker/whalesay:latest")`

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-02-26 17:08:52 +00:00
..
containerimage Swallow a NotFound error when deleting content, to support schema 1 manifests 2018-02-26 17:08:52 +00:00
git Remove net/context dependencies 2018-01-17 09:11:22 -08:00
http Remove net/context dependencies 2018-01-17 09:11:22 -08:00
local Remove net/context dependencies 2018-01-17 09:11:22 -08:00
gitidentifier.go Clean some small dependencies on docker/docker package 2018-02-01 16:05:24 -08:00
identifier.go source: add sharedkeyhint to local source 2017-12-15 15:13:15 -08:00
manager.go Remove net/context dependencies 2018-01-17 09:11:22 -08:00