mirror of
https://github.com/minio/minio.git
synced 2025-04-01 10:13:42 -04:00
Fix shadowing of err variable (#1718)
This commit is contained in:
parent
5a4b074ca0
commit
3a980eac1a
@ -240,7 +240,8 @@ func initFormatXL(storageDisks []StorageAPI) (err error) {
|
|||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
u, err := uuid.New()
|
var u *uuid.UUID
|
||||||
|
u, err = uuid.New()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
saveFormatErrCnt++
|
saveFormatErrCnt++
|
||||||
// Check for write quorum.
|
// Check for write quorum.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user