mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
Fix shadowing of err variable (#1718)
This commit is contained in:
committed by
Harshavardhana
parent
5a4b074ca0
commit
3a980eac1a
+2
-1
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user