Skip to content

Commit

Permalink
fix: improve output of zot verify (#2745)
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 authored Oct 25, 2024
1 parent ca1eb76 commit 51e779f
Showing 1 changed file with 124 additions and 111 deletions.
Loading

0 comments on commit 51e779f

Please sign in to comment.