added emoji(s)

This commit is contained in:
Daniel Sommer 2023-10-20 16:44:26 +02:00
parent 37785a23ac
commit 9e9d9e3b0a
2 changed files with 2 additions and 1 deletions

2
.vscode/launch.json vendored
View file

@ -20,7 +20,7 @@
"args": [ "args": [
"--client", "--client",
"--yaml", "--yaml",
"/home/velvettear/development/golang/godyn/client-config copy.yml" "/home/velvettear/public/godyn-client.yml"
], ],
}, },
] ]

View file

@ -163,6 +163,7 @@ func updateDyndns() {
} else if strings.Contains(body, "nochg") { } else if strings.Contains(body, "nochg") {
msg = "dyndns was not updated because remote/wan ip did not change" msg = "dyndns was not updated because remote/wan ip did not change"
log.WarningTimed(msg, timestamp, "response: '"+body+"'") log.WarningTimed(msg, timestamp, "response: '"+body+"'")
notification.Emoji = "yellow_circle"
} else { } else {
msg = "dyndns was updated successfully" msg = "dyndns was updated successfully"
log.InfoTimed(msg, timestamp, "response: '"+strings.TrimSpace(string(bytes))+"'") log.InfoTimed(msg, timestamp, "response: '"+strings.TrimSpace(string(bytes))+"'")