nginxinc / nginx-gateway-fabric

NGINX Gateway Fabric provides an implementation for the Gateway API using NGINX as the data plane.
Apache License 2.0
501 stars 97 forks source link

Fix unchecked type assertions #2580

Closed lucacome closed 1 month ago

lucacome commented 1 month ago

Proposed changes

Fixes the remaining unchecked type assertions

Checklist

Before creating a PR, run through this checklist and mark each as complete.

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes, please add a brief note that summarizes the change.

NONE
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 33.33333% with 10 lines in your changes missing coverage. Please review.

Project coverage is 89.20%. Comparing base (dc3a925) to head (ee2070b). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/mode/static/manager.go 0.00% 8 Missing :warning:
internal/framework/status/updater.go 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2580 +/- ## ========================================== - Coverage 95.19% 89.20% -6.00% ========================================== Files 1 100 +99 Lines 229 7642 +7413 Branches 50 50 ========================================== + Hits 218 6817 +6599 - Misses 11 768 +757 - Partials 0 57 +57 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.