api/services/content: define delete method
Allow deletion of content over the GRPC interface. For now, we are going with a model that conducts reference management outside of the content store, in the metadata store but this design is valid either way. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
be20bb1eb8
commit
706c629354
5 changed files with 269 additions and 62 deletions
|
@ -81,7 +81,7 @@ func (cs *Store) Delete(dgst digest.Digest) error {
|
|||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return errNotFound
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue