mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
refactor: fix code lint warnings
This commit is contained in:
@@ -85,6 +85,7 @@ func (handler *Handler) UpdateIP(domain, subDomain, currentIP string) {
|
||||
if err != nil {
|
||||
// handle error
|
||||
log.Print("Failed to update sub domain:", subDomain)
|
||||
return
|
||||
}
|
||||
|
||||
defer resp.Body.Close()
|
||||
|
||||
Reference in New Issue
Block a user