summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-16 12:02:09 -0600
committerJeff Carr <[email protected]>2025-02-16 12:05:28 -0600
commitb53e71ed9eb4067e749f872a7843e31381511bfb (patch)
tree4eca59bb91b42ca94716b2c9648937f1588bd7a5 /http.go
parent97f29457dbee65a4404570fd17fd5d0f08e21502 (diff)
app works againv0.0.29
Diffstat (limited to 'http.go')
-rw-r--r--http.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/http.go b/http.go
index 3f559ca..92adb37 100644
--- a/http.go
+++ b/http.go
@@ -40,7 +40,8 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
if route == "/machine" {
- handleMachine(w, hostname, msg)
+ handleMachine(r, w, hostname, msg)
+ return
var m *zoopb.Machine
m = new(zoopb.Machine)