forked from TrueCloudLab/distribution
Merge pull request #1517 from aaronlehmann/fix-2-misspellings
Fix two misspellings in source code comments
This commit is contained in:
commit
7adddecf0b
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ func (d *driver) Move(context ctx.Context, sourcePath string, destPath string) e
|
|||
return err
|
||||
}
|
||||
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.
|
||||
if err != nil {
|
||||
logrus.Infof("error deleting file: %v due to %v", sourcePath, err)
|
||||
|
|
Loading…
Reference in a new issue