Skip to content

Commit

Permalink
fix: improve output of zot verify
Browse files Browse the repository at this point in the history
See #2744, there are 2 updates:
1. Silence the usage output in case of config verification errors
2. Wrap the error details in all of the zot configuration errors so they are propagated and shown in stdout for `zot verify`
We also need to keep logging those message to the zot logs file since the same logic is caled in the `zot serve` use case.

Signed-off-by: Andrei Aaron <[email protected]>
  • Loading branch information
andaaron committed Oct 25, 2024
1 parent f735680 commit c197c15
Showing 1 changed file with 124 additions and 111 deletions.
Loading

0 comments on commit c197c15

Please sign in to comment.