diff --git a/src/internal/connector/onedrive/restore.go b/src/internal/connector/onedrive/restore.go index 50a5d8a2c..753d342bb 100644 --- a/src/internal/connector/onedrive/restore.go +++ b/src/internal/connector/onedrive/restore.go @@ -5,7 +5,6 @@ import ( "encoding/json" "fmt" "io" - "math" "runtime/trace" "sort" "strings" @@ -39,9 +38,7 @@ const ( // versionWithNameInMeta points to the backup format version where we begin // storing files in kopia with their item ID instead of their OneDrive file // name. - // TODO(ashmrtn): Update this to a real value when we merge the file name - // change. Set to MAXINT for now to keep the if-check using it working. - versionWithNameInMeta = math.MaxInt + versionWithNameInMeta = 5 // versionWithDataAndMetaFilesInDir moves the .dirmeta entries to the // directory they belong to instead of being in the parent of the directory // they belong to. diff --git a/src/pkg/backup/backup.go b/src/pkg/backup/backup.go index 33e19bb9a..073c680d0 100644 --- a/src/pkg/backup/backup.go +++ b/src/pkg/backup/backup.go @@ -14,7 +14,7 @@ import ( "github.com/alcionai/corso/src/pkg/selectors" ) -const Version = 3 +const Version = 5 // Backup represents the result of a backup operation type Backup struct {