Skip to content

datastore: avoid update_operation timing window by creating in txn

Codecov / codecov/patch succeeded Apr 8, 2024 in 0s

50.00% of diff hit (target 55.77%)

View this Pull Request on Codecov

50.00% of diff hit (target 55.77%)

Annotations

Check warning on line 139 in datastore/postgres/updatevulnerabilities.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

datastore/postgres/updatevulnerabilities.go#L139

Added line #L139 was not covered by tests