summaryrefslogtreecommitdiff
path: root/machine.go
diff options
context:
space:
mode:
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)
}