lib/errors: don't panic on uncomparable errors #3123

Same fix as c5775cf73d
s3-about
Nick Craig-Wood 2019-04-25 16:14:39 +01:00
parent 81f8a5e0d9
commit 7963320a29
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func Walk(err error, f WalkFunc) {
}
}
}
if err == prev {
if reflect.DeepEqual(err, prev) {
break
}
}