1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

staticcheck: empty branch

This commit is contained in:
albertony
2022-06-24 17:20:31 +02:00
parent 7b8c974dec
commit a1fd60ec2b
2 changed files with 5 additions and 7 deletions

View File

@@ -782,11 +782,11 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string
}
_, err = f.readMetaDataForPath(ctx, dstPath, &api.ResourceInfoRequestOptions{})
if apiErr, ok := err.(*api.ErrorResponse); ok {
if _, ok := err.(*api.ErrorResponse); ok {
// does not exist
if apiErr.ErrorName == "DiskNotFoundError" {
// OK
}
//if apiErr.ErrorName == "DiskNotFoundError" {
// // OK
//}
} else if err != nil {
return err
} else {