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.
1 parent 89119c4 commit c569614Copy full SHA for c569614
pkg/service/service.go
@@ -26,6 +26,11 @@ func UpdateDns() {
26
log.Error("list record failed", zap.Error(err))
27
return
28
}
29
+ if len(records) == 0 {
30
+ log.Error("record not found")
31
+ return
32
+ }
33
+ log.Info("describe domain records", zap.Reflect("records", records))
34
35
for _, ddns := range config.Cfg.DDNSs {
36
if !ddns.Enable {
0 commit comments