add cli option to update ip based on the dyndns
This commit is contained in:
parent
a54d0777a9
commit
e9dcb3840f
2 changed files with 51 additions and 8 deletions
|
|
@ -178,7 +178,7 @@ func run() error {
|
|||
currIP, newIP := publicDNSIps[0], dynamicDNSIps[0]
|
||||
if currIP.Equal(newIP) {
|
||||
glog.Infof("IPs of dyndns and current ip match, nothing to do: current=%s, dyndns=%s", currIP, newIP)
|
||||
// return nil // TODO: uncomment
|
||||
return nil
|
||||
}
|
||||
// setup git repo
|
||||
gitFs, err := NewGitFS(repository)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue