Merge pull request #2640 from okriuchykhin/ok_SCI_4728

Fix appearance of snapshots from another my_module in report [SCI-4728]
This commit is contained in:
Alex Kriuchykhin 2020-06-04 09:50:43 +02:00 committed by GitHub
commit c8e8b8e2f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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