We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<none>
ipsToString
1 parent 10cfe67 commit 3dbdc33Copy full SHA for 3dbdc33
1 file changed
internal/update/helpers.go
@@ -43,6 +43,9 @@ func (s *Service) logInfoLookupUpdate(hostname, ipKind string, recordIPs []netip
43
}
44
45
func ipsToString(ips []netip.Addr) string {
46
+ if len(ips) == 0 {
47
+ return "<none>"
48
+ }
49
ipStrings := make([]string, len(ips))
50
for i, ip := range ips {
51
ipStrings[i] = ip.String()
0 commit comments