dns already taken
This commit is contained in:
parent
65945b6e73
commit
5604c3232a
5 changed files with 10 additions and 10 deletions
|
|
@ -27,11 +27,11 @@ func (Provider) CaddyModule() caddy.ModuleInfo {
|
|||
// Provision sets up the module. Implements caddy.Provisioner.
|
||||
func (p *Provider) Provision(ctx caddy.Context) error {
|
||||
p.logger = ctx.Logger()
|
||||
_, err := ctx.AppIfConfigured("dns")
|
||||
_, err := ctx.AppIfConfigured("dns01")
|
||||
if err != nil {
|
||||
p.logger.Warn("DNS app not yet configured")
|
||||
}
|
||||
app, err := ctx.App("dns")
|
||||
app, err := ctx.App("dns01")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue