Does not generate ACME certificate if domain is checked by dynamic certificate
This commit is contained in:
parent
3b3ca89483
commit
a1bbaec71f
4 changed files with 9 additions and 7 deletions
|
@ -55,7 +55,7 @@ type Provider struct {
|
|||
client *acme.Client
|
||||
certsChan chan *Certificate
|
||||
configurationChan chan<- types.ConfigMessage
|
||||
certificateStore traefiktls.CertificateStore
|
||||
certificateStore *traefiktls.CertificateStore
|
||||
clientMutex sync.Mutex
|
||||
configFromListenerChan chan types.Configuration
|
||||
pool *safe.Pool
|
||||
|
@ -185,7 +185,7 @@ func (p *Provider) watchNewDomains() {
|
|||
}
|
||||
|
||||
// SetCertificateStore allow to initialize certificate store
|
||||
func (p *Provider) SetCertificateStore(certificateStore traefiktls.CertificateStore) {
|
||||
func (p *Provider) SetCertificateStore(certificateStore *traefiktls.CertificateStore) {
|
||||
p.certificateStore = certificateStore
|
||||
}
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ func TestGetUncheckedCertificates(t *testing.T) {
|
|||
t.Parallel()
|
||||
|
||||
acmeProvider := Provider{
|
||||
certificateStore: traefiktls.CertificateStore{
|
||||
certificateStore: &traefiktls.CertificateStore{
|
||||
DynamicCerts: test.dynamicCerts,
|
||||
StaticCerts: test.staticCerts,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue