address linter concern

This commit is contained in:
Finn 2024-09-30 11:04:23 -07:00
parent b14f3946e2
commit 962d726bed

View file

@ -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)