diff --git a/cmd/data-update-tracker.go b/cmd/data-update-tracker.go index 9dab996d7..57e99e49d 100644 --- a/cmd/data-update-tracker.go +++ b/cmd/data-update-tracker.go @@ -46,7 +46,7 @@ const ( dataUpdateTrackerQueueSize = 10000 dataUpdateTrackerFilename = dataUsageBucket + SlashSeparator + ".tracker.bin" - dataUpdateTrackerVersion = 2 + dataUpdateTrackerVersion = 3 dataUpdateTrackerSaveInterval = 5 * time.Minute ) @@ -366,7 +366,7 @@ func (d *dataUpdateTracker) deserialize(src io.Reader, newerThan time.Time) erro return err } switch tmp[0] { - case 1: + case 1, 2: logger.Info(color.Green("dataUpdateTracker: ") + "deprecated data version, updating.") return nil case dataUpdateTrackerVersion: