returnfmt.Errorf("%s format error: %w",endpoints[i],err)
}
}
iflen(format.XL.Sets)!=setCount{
returnfmt.Errorf("Current backend format is inconsistent with input args (%s), Expected set count %d, got %d",endpoints,len(format.XL.Sets),setCount)
}
iflen(format.XL.Sets[0])!=drivesPerSet{
returnfmt.Errorf("Current backend format is inconsistent with input args (%s), Expected drive count per set %d, got %d",endpoints,len(format.XL.Sets[0]),drivesPerSet)
}
returnnil
}
// Following error message is added to fix a regression in release
// RELEASE.2018-03-16T22-52-12Z after migrating v1 to v2 to v3. This
// migration failed to capture '.This' field properly which indicates