mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -163,7 +163,7 @@ func renameAll(srcFilePath, dstFilePath string) (err error) {
|
||||
// Reliably retries os.RenameAll if for some reason os.RenameAll returns
|
||||
// syscall.ENOENT (parent does not exist).
|
||||
func reliableRename(srcFilePath, dstFilePath string) (err error) {
|
||||
if err = reliableMkdirAll(path.Dir(dstFilePath), 0777); err != nil {
|
||||
if err = reliableMkdirAll(path.Dir(dstFilePath), 0o777); err != nil {
|
||||
return err
|
||||
}
|
||||
i := 0
|
||||
|
||||
Reference in New Issue
Block a user