Skip to content

fix: correct race conditions

Codecov / codecov/patch failed Mar 19, 2024 in 0s

14.28% of diff hit (target 75.62%)

View this Pull Request on Codecov

14.28% of diff hit (target 75.62%)

Annotations

Check warning on line 18 in internal/syncutil/oncefunc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/syncutil/oncefunc.go#L10-L18

Added lines #L10 - L18 were not covered by tests

Check warning on line 31 in internal/syncutil/oncefunc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/syncutil/oncefunc.go#L21-L31

Added lines #L21 - L31 were not covered by tests

Check warning on line 114 in registry/remote/credentials/store.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

registry/remote/credentials/store.go#L112-L114

Added lines #L112 - L114 were not covered by tests