attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

Do not crash with no metrics configuration. #33

Closed mcdee closed 3 years ago

mcdee commented 3 years ago

If there is no metrics configuration Vouch falls back to a null implementation. This implementation was missing an interface, causing a cast exception.

This patch adds the required functions to implement the interface.