Skip to content

Commit

Permalink
Merge branch 'master' into tls-cert-cache-internal-reload
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt authored Apr 24, 2024
2 parents c66e0ee + c6eb186 commit 4b9860e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion caddyconfig/caddyfile/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ func (p *parser) doImport(nesting int) error {
return p.Errf("Glob pattern may only contain one wildcard (*), but has others: %s", globPattern)
}
matches, err = filepath.Glob(globPattern)

if err != nil {
return p.Errf("Failed to use import pattern %s: %v", importPattern, err)
}
Expand Down
2 changes: 1 addition & 1 deletion modules/caddytls/acmeissuer.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (iss *ACMEIssuer) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
return d.Errf("lifetime must be >= 0: %s", lifetime)
}
iss.CertificateLifetime = caddy.Duration(lifetime)

case "dir":
if iss.CA != "" {
return d.Errf("directory is already specified: %s", iss.CA)
Expand Down

0 comments on commit 4b9860e

Please sign in to comment.