Skip to content

Commit

Permalink
fix: nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 19, 2024
1 parent fb494bc commit 160e160
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions providers/dns/westcn/westcn.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
}

return &DNSProvider{
config: config,
client: client,
config: config,
client: client,
recordIDs: make(map[string]int),
}, nil
}

Expand Down

0 comments on commit 160e160

Please sign in to comment.