Fix appearence of snapshots from another my_module in report [SCI-4728]

This commit is contained in:
Oleksii Kriuchykhin 2020-06-04 09:42:22 +02:00
parent 38877aad26
commit f1f26587c0

View file

@ -19,7 +19,9 @@ class RepositorySnapshot < RepositoryBase
Constants::REPOSITORY_SNAPSHOT_TABLE_DEFAULT_STATE['length']
end
def assigned_rows(_my_module)
def assigned_rows(my_module)
return RepositoryRow.none if my_module != self.my_module
repository_rows
end