mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
HOSTINGDE: Fix dnssec error resulting from non-go-conformant comparison of three values (#2036)
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org> Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
committed by
GitHub
parent
1b224444c0
commit
bbabf66113
@@ -159,7 +159,7 @@ func (hp *hostingdeProvider) GetDomainCorrections(dc *models.DomainConfig) ([]*m
|
||||
var DnsSecOptions *dnsSecOptions = nil
|
||||
|
||||
// ensure that publishKsk is set for domains with AutoDNSSec
|
||||
if existingAutoDNSSecEnabled == desiredAutoDNSSecEnabled == true {
|
||||
if existingAutoDNSSecEnabled && desiredAutoDNSSecEnabled {
|
||||
CurrentDnsSecOptions, err := hp.getDNSSECOptions(zone.ZoneConfig.ID)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user