diff options
| author | Jeff Carr <[email protected]> | 2024-10-27 08:10:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-27 08:10:19 -0500 |
| commit | d38865a6cf3d9e11803e9f565a0dd0c763de479d (patch) | |
| tree | 98dcb257089a3fb117a9872a7d08691e85917760 /http.go | |
| parent | 7288595efc0c029adf33f7b3edd4627810ccb0ca (diff) | |
maybe fix duplicates? this isn't really safe probably
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -102,7 +102,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) { result, err := Start(hostname) if err == nil { fmt.Fprintln(w, result) - fmt.Fprintln(w, hostname, "started ok") + fmt.Fprintln(w, hostname, "started output ok") + fmt.Fprintln(w, hostname, "need to parse the output here") + fmt.Fprintln(w, hostname, "todo: switch to protobuf here") } else { fmt.Fprintln(w, result) fmt.Fprintln(w, err) |
