mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fix: auto update crawler meta version
PR 038bcd9079
introduced
version '3', we need to make sure that we do not
print an unexpected error instead log a message to
indicate we will auto update the version.
This commit is contained in:
parent
4a564336fe
commit
dc819afa44
@ -549,7 +549,7 @@ func (d *dataUsageCache) deserialize(r io.Reader) error {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
switch b[0] {
|
||||
case 1:
|
||||
case 1, 2:
|
||||
return errors.New("cache version deprecated (will autoupdate)")
|
||||
case dataUsageCacheVer:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user