1
0
Fork 0

Improve log message about redundant TLS certificate

This commit is contained in:
mpl 2019-04-15 12:32:03 +02:00 committed by Traefiker Bot
parent 3d7633f4a6
commit ea750ad813
2 changed files with 6 additions and 6 deletions

View file

@ -56,7 +56,7 @@ func (m *Manager) UpdateConfigs(stores map[string]Store, configs map[string]TLS,
conf.Stores = []string{"default"}
}
for _, store := range conf.Stores {
if err := conf.Certificate.AppendCertificates(storesCertificates, store); err != nil {
if err := conf.Certificate.AppendCertificate(storesCertificates, store); err != nil {
log.Errorf("Unable to append certificate %s to store %s: %v", conf.Certificate.GetTruncatedCertificateName(), store, err)
}
}