[release-12.0.0] Dashboard and Folders: fix version mismatch (#104713)
Folders: Fix version mismatch errors
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user