fix: remove signing key creation (when not found)
This commit is contained in:
parent
4390119d1d
commit
06dcac4c2f
6 changed files with 14 additions and 77 deletions
|
@ -34,6 +34,9 @@ func (s *tokenSigner) Health(_ context.Context) error {
|
|||
if s.signer == nil {
|
||||
return errors.New("no signer")
|
||||
}
|
||||
if string(s.alg) == "" {
|
||||
return errors.New("no signing algorithm")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue