mirror of
https://github.com/distribution/distribution.git
synced 2025-07-19 01:37:48 +00:00
Fix two misspellings in source code comments
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
b61928652c
commit
87e34bd307
@ -62,7 +62,7 @@ type ManifestEnumerator interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SignaturesGetter provides an interface for getting the signatures of a schema1 manifest. If the digest
|
// SignaturesGetter provides an interface for getting the signatures of a schema1 manifest. If the digest
|
||||||
// refered to is not a schema1 manifest, an error should be returned.
|
// referred to is not a schema1 manifest, an error should be returned.
|
||||||
type SignaturesGetter interface {
|
type SignaturesGetter interface {
|
||||||
GetSignatures(ctx context.Context, manifestDigest digest.Digest) ([]digest.Digest, error)
|
GetSignatures(ctx context.Context, manifestDigest digest.Digest) ([]digest.Digest, error)
|
||||||
}
|
}
|
||||||
|
@ -482,7 +482,7 @@ func (d *driver) Move(context ctx.Context, sourcePath string, destPath string) e
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = storageDeleteObject(gcsContext, d.bucket, d.pathToKey(sourcePath))
|
err = storageDeleteObject(gcsContext, d.bucket, d.pathToKey(sourcePath))
|
||||||
// if deleting the file fails, log the error, but do not fail; the file was succesfully copied,
|
// if deleting the file fails, log the error, but do not fail; the file was successfully copied,
|
||||||
// and the original should eventually be cleaned when purging the uploads folder.
|
// and the original should eventually be cleaned when purging the uploads folder.
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Infof("error deleting file: %v due to %v", sourcePath, err)
|
logrus.Infof("error deleting file: %v due to %v", sourcePath, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user