aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.54k stars 369 forks source link

fix:failed to edit repo #1281

Closed neolynx closed 1 month ago

neolynx commented 2 months ago

return when the repo cant be found and err !=nil

Replaces #1093

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Description of the Change

Checklist

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 74.81%. Comparing base (8d09c20) to head (094d358). Report is 1 commits behind head on master.

Files Patch % Lines
api/repos.go 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1281 +/- ## ========================================== + Coverage 74.79% 74.81% +0.02% ========================================== Files 144 144 Lines 16256 16248 -8 ========================================== - Hits 12158 12156 -2 + Misses 3156 3152 -4 + Partials 942 940 -2 ```

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