summaryrefslogtreecommitdiff
path: root/machine.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-06 05:16:00 -0600
committerJeff Carr <[email protected]>2025-03-06 05:34:25 -0600
commite85a8ae69f538147f969859ea45af6048fce243c (patch)
tree2a90f5f94656fb9a7404b538373318f2141c5e76 /machine.go
parent8c7f6c3c1be68c3ac350c4b611e08ed8b23bd3a8 (diff)
talking with zood again
Diffstat (limited to 'machine.go')
-rw-r--r--machine.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/machine.go b/machine.go
index 7944e9b..8ddf63f 100644
--- a/machine.go
+++ b/machine.go
@@ -4,6 +4,7 @@
package main
import (
+ "fmt"
"net/http"
"strings"
"time"
@@ -53,6 +54,7 @@ func handleMachine(r *http.Request, w http.ResponseWriter, hostname string, data
log.Info("hostname ua changed len =", len(data), ra, hostname, ua)
m.UserAgent = ua
}
+ fmt.Fprintln(w, "upgrade")
// log.Info("update machine protobuf", hostname)
updateMachine(newm)
}