proxyBlobStore implements Put
Signed-off-by: Alex Biehl <alexbiehl@gmail.com>
This commit is contained in:
parent
6248a88d03
commit
4dbffc0a25
1 changed files with 2 additions and 2 deletions
|
@ -190,11 +190,11 @@ func (pbs *proxyBlobStore) Get(ctx context.Context, dgst digest.Digest) ([]byte,
|
|||
return blob, nil
|
||||
}
|
||||
|
||||
// Unsupported functions
|
||||
func (pbs *proxyBlobStore) Put(ctx context.Context, mediaType string, p []byte) (distribution.Descriptor, error) {
|
||||
return distribution.Descriptor{}, distribution.ErrUnsupported
|
||||
return pbs.localStore.Put(ctx, mediaType, p)
|
||||
}
|
||||
|
||||
// Unsupported functions
|
||||
func (pbs *proxyBlobStore) Create(ctx context.Context, options ...distribution.BlobCreateOption) (distribution.BlobWriter, error) {
|
||||
return nil, distribution.ErrUnsupported
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue