Fix shadowing of err variable (#1718)

master
Krishnan Parthasarathi 9 years ago committed by Harshavardhana
parent 5a4b074ca0
commit 3a980eac1a
  1. 3
      format-config-v1.go

@ -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…
Cancel
Save