1
0
Fork 0
forked from forgejo/forgejo

Import additional secrets via file uri (#25408)

This commit is contained in:
techknowlogick 2023-06-22 20:16:12 -04:00 committed by GitHub
parent 478f33030e
commit c0fc53e226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -76,7 +76,7 @@ func loadSecret(sec ConfigSection, uriKey, verbatimKey string) string {
// only file URIs are allowed
default:
log.Fatal("Unsupported URI-Scheme %q (INTERNAL_TOKEN_URI = %q)", tempURI.Scheme, uri)
log.Fatal("Unsupported URI-Scheme %q (%q = %q)", tempURI.Scheme, uriKey, uri)
return ""
}
}