Skip to content

Commit

Permalink
IJMP-1345 Another change to fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Uladzislau Kalesnikau committed May 14, 2024
1 parent 3d8d27c commit 5b6ee65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class SeqDatasetContentSynchronizer(
override fun accepts(file: VirtualFile): Boolean {
val isOurVFile = super.accepts(file)
return if (isOurVFile) {
val dsAttributes = attributesService.castOrNull<RemoteDatasetAttributes>()
val dsAttributes = dataOpsManager.tryToGetAttributes(file)?.castOrNull<RemoteDatasetAttributes>()
return dsAttributes != null
&& !dsAttributes.isMigrated
&& dsAttributes.datasetInfo.datasetOrganization != DatasetOrganization.VS
Expand Down

0 comments on commit 5b6ee65

Please sign in to comment.