mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05: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
|
||||
}
|
||||
u, err := uuid.New()
|
||||
var u *uuid.UUID
|
||||
u, err = uuid.New()
|
||||
if err != nil {
|
||||
saveFormatErrCnt++
|
||||
// Check for write quorum.
|
||||
|
Loading…
Reference in New Issue
Block a user