address linter concern
This commit is contained in:
parent
b14f3946e2
commit
962d726bed
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ func CreateJWTSigningKey(algorithm string, key any) (JWTSigningKey, error) {
|
|||
|
||||
// LoadOrCreateAsymmetricKey checks if the configured private key exists.
|
||||
// If it does not exist a new random key gets generated and saved on the configured path.
|
||||
func LoadOrCreateAsymmetricKey(keyPath string, algo string) (any, error) {
|
||||
func LoadOrCreateAsymmetricKey(keyPath, algo string) (any, error) {
|
||||
isExist, err := util.IsExist(keyPath)
|
||||
if err != nil {
|
||||
log.Fatal("Unable to check if %s exists. Error: %v", keyPath, err)
|
||||
|
|
Loading…
Reference in a new issue