Fix certChan defaulting on consul catalog provider
This commit is contained in:
parent
55360c1eaf
commit
a72d124551
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,6 @@ func (p *Provider) SetDefaults() {
|
||||||
p.ExposedByDefault = true
|
p.ExposedByDefault = true
|
||||||
p.DefaultRule = DefaultTemplateRule
|
p.DefaultRule = DefaultTemplateRule
|
||||||
p.ServiceName = "traefik"
|
p.ServiceName = "traefik"
|
||||||
p.certChan = make(chan *connectCert)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init the provider.
|
// Init the provider.
|
||||||
|
@ -98,6 +97,7 @@ func (p *Provider) Init() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
p.defaultRuleTpl = defaultRuleTpl
|
p.defaultRuleTpl = defaultRuleTpl
|
||||||
|
p.certChan = make(chan *connectCert)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue