mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Simplifying code
This commit is contained in:
parent
12aae70620
commit
becb165770
@ -60,11 +60,7 @@ func main() {
|
||||
// get chunks
|
||||
chunks := make([][]byte, k+m)
|
||||
for i := 0; i < k+m; i++ {
|
||||
var err error
|
||||
chunks[i], err = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i))
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
chunks[i], _ = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i))
|
||||
}
|
||||
|
||||
// get length
|
||||
|
Loading…
Reference in New Issue
Block a user