Skip to content

Commit

Permalink
Another uninitialized map
Browse files Browse the repository at this point in the history
  • Loading branch information
mreiger committed Aug 29, 2024
1 parent 2d8f679 commit 8df351c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/dns/dnscache.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ func createIPSetFromIPEntry(fqdn string, version firewallv1.IPVersion, entry *ip
ips := firewallv1.IPSet{
FQDN: fqdn,
SetName: entry.setName,
IPs: map[string]metav1.Time{},
Version: version,
}
for ip, expirationTime := range entry.ips {
Expand Down

0 comments on commit 8df351c

Please sign in to comment.