1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Fixed the nesting file name

This commit is contained in:
Gilbert Chen
2017-12-14 13:55:02 -05:00
parent 50d2e2603a
commit dfbc5ece00

View File

@@ -109,7 +109,7 @@ func (storage *StorageBase) SetNestingLevels(config *Config) {
exist, _, _, err := storage.DerivedStorage.GetFileInfo(0, "nesting")
if err == nil && exist {
nestingFile := CreateChunk(CreateConfig(), true)
if storage.DerivedStorage.DownloadFile(0, "config", nestingFile) == nil {
if storage.DerivedStorage.DownloadFile(0, "nesting", nestingFile) == nil {
var nesting struct {
ReadLevels []int `json:"read-levels"`
WriteLevel int `json:"write-level"`