[release-12.0.1] Dashboard and Folders: fix version mismatch (#104717)

Folders: Fix version mismatch errors
This commit is contained in:
Stephanie Hingtgen
2025-04-30 03:01:45 +03:00
committed by GitHub
parent 249bf8ac64
commit 6b7bba2b5a
5 changed files with 11 additions and 10 deletions
@@ -88,6 +88,7 @@ func (ss *FolderUnifiedStoreImpl) UnstructuredToLegacyFolder(ctx context.Context
updaterId = creatorId
}
folder.Version = int(item.GetGeneration())
folder.CreatedBy = creatorId
folder.UpdatedBy = updaterId
@@ -124,6 +125,7 @@ func (ss *FolderUnifiedStoreImpl) UnstructuredToLegacyFolderList(ctx context.Con
updaterId = creatorId
}
folder.Version = int(item.GetGeneration())
folder.CreatedBy = creatorId
folder.UpdatedBy = updaterId
folders = append(folders, folder)