mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 21:50:22 +03:00
heal: Enable periodic bitrot scan configuration (#14464)
This commit is contained in:
@@ -81,7 +81,7 @@ func ParseBool(str string) (bool, error) {
|
||||
if strings.EqualFold(str, "disabled") {
|
||||
return false, nil
|
||||
}
|
||||
return false, fmt.Errorf("ParseBool: parsing '%s': %s", str, strconv.ErrSyntax)
|
||||
return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax)
|
||||
}
|
||||
|
||||
// ParseBoolFlag - parses string into BoolFlag.
|
||||
|
||||
Reference in New Issue
Block a user