Compare commits
3 Commits
0.0.11
...
0d14d50a9f
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d14d50a9f | |||
| 381cf9a750 | |||
| df6c48b875 |
@@ -85,7 +85,7 @@ func (c *ChangeDetector) detectAndApplyChanges() (int, error) {
|
|||||||
slog.String("tld", domain.TLD),
|
slog.String("tld", domain.TLD),
|
||||||
slog.String("subdomain", subdomain),
|
slog.String("subdomain", subdomain),
|
||||||
)
|
)
|
||||||
return numberUpdated, err
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if currentRecord.IP != externalIp.String() {
|
if currentRecord.IP != externalIp.String() {
|
||||||
@@ -104,7 +104,7 @@ func (c *ChangeDetector) detectAndApplyChanges() (int, error) {
|
|||||||
c.logger.Warn("Failed to send notification",
|
c.logger.Warn("Failed to send notification",
|
||||||
slog.String("error", err.Error()),
|
slog.String("error", err.Error()),
|
||||||
)
|
)
|
||||||
return numberUpdated, err
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
c.logger.Info("Updating record",
|
c.logger.Info("Updating record",
|
||||||
@@ -120,7 +120,7 @@ func (c *ChangeDetector) detectAndApplyChanges() (int, error) {
|
|||||||
slog.String("tld", domain.TLD),
|
slog.String("tld", domain.TLD),
|
||||||
slog.String("subdomain", subdomain),
|
slog.String("subdomain", subdomain),
|
||||||
)
|
)
|
||||||
return numberUpdated, err
|
continue
|
||||||
}
|
}
|
||||||
numberUpdated++
|
numberUpdated++
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user