diff options
| author | Jeff Carr <[email protected]> | 2024-11-21 19:48:09 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-21 19:48:09 -0600 |
| commit | 22d49578c99e7c77ca7f6bd4691e3d88a7cfc7f5 (patch) | |
| tree | bf72bc245dccbd82beca9e77130e9b0f5bfa1db0 /send.go | |
| parent | f5144e4b8ae85d86e7d8172b2aa9d6b3da3e8835 (diff) | |
Diffstat (limited to 'send.go')
| -rw-r--r-- | send.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ import ( func pingStatus() error { var url string - url = me.urlbase + "/status?hostname=" + me.hostname + url = me.urlbase + "/status?hostname=" + me.machine.Hostname msg, err := me.machine.Packages.Marshal() if err != nil { log.Info("proto.Marshal() failed:", err) @@ -68,7 +68,7 @@ func sendMachine(s string) error { os.Exit(0) } else { log.Info(me.urlbase, "is maybe not working GOT:", line) - log.Info(me.urlbase, "fail count", me.failcount, "from hostname", me.hostname) + log.Info(me.urlbase, "fail count", me.failcount, "from hostname", me.machine.Hostname) } } return nil |
