Add update retry limit and compare error by string instead (#10776)

This commit is contained in:
Klaus Post
2020-10-28 13:19:53 -07:00
committed by GitHub
parent be7f67268d
commit bfc36aed89
2 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ func (z *erasureServerSets) listPath(ctx context.Context, o listPathOptions) (en
allAtEOF = false
continue
}
if err == io.EOF {
if err.Error() == io.EOF.Error() {
continue
}
logger.LogIf(ctx, err)