Skip to content

fix(controller): fix panic when last promotion failed

Codecov / codecov/patch failed Jul 29, 2024 in 0s

0.00% of diff hit (target 47.64%)

View this Pull Request on Codecov

0.00% of diff hit (target 47.64%)

Annotations

Check warning on line 489 in internal/controller/promotions/promotions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/promotions/promotions.go#L489

Added line #L489 was not covered by tests

Check warning on line 540 in internal/controller/promotions/promotions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/promotions/promotions.go#L540

Added line #L540 was not covered by tests

Check warning on line 551 in internal/controller/promotions/promotions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/promotions/promotions.go#L549-L551

Added lines #L549 - L551 were not covered by tests