acmehandler.go
Method Runtime.loadAcmeCertAndKeyFromCache
has 7 return statements (exceeds 4 allowed). Confirmed
Confirmed
func (runtime *Runtime) loadAcmeCertAndKeyFromCache(provider string) error {
var e error
if !runtime.cacheDirIsActive() {
return errors.New("cache directory not active, cannot load TLS from cache")
Method Runtime.fetchAcmeCertAndKey
has 6 return statements (exceeds 4 allowed). Confirmed
Confirmed
func (runtime *Runtime) fetchAcmeCertAndKey(url string) error {
var e error
defer func() {
if r := recover(); r != nil {
Method Runtime.cacheAcmeCertAndKey
has 5 return statements (exceeds 4 allowed). Confirmed
Confirmed
func (runtime *Runtime) cacheAcmeCertAndKey(provider string) error {
var e error
if !runtime.cacheDirIsActive() {
return errors.New("cache directory not active, cannot cache keys")