fix: init storages in order (#6346)

This commit is contained in:
jack roble
2024-04-19 05:22:16 -04:00
committed by GitHub
parent 793a4ea6ca
commit 0c9dcec9cd
2 changed files with 6 additions and 2 deletions

View File

@ -21,8 +21,8 @@ func LoadStorages() {
if err != nil {
utils.Log.Errorf("failed get enabled storages: %+v", err)
} else {
utils.Log.Infof("success load storage: [%s], driver: [%s]",
storages[i].MountPath, storages[i].Driver)
utils.Log.Infof("success load storage: [%s], driver: [%s], order: [%d]",
storages[i].MountPath, storages[i].Driver, storages[i].Order)
}
}
conf.StoragesLoaded = true