Simplified version of node status monitoring with CLI
This commit is contained in:
@@ -77,6 +77,9 @@ func RuntimeOverlaySend(w http.ResponseWriter, req *http.Request) {
|
||||
if err != nil {
|
||||
daemonLogf("ERROR: %s\n", err)
|
||||
}
|
||||
|
||||
updateStatus(n.Id.Get(), "RUNTIME OVERLAY", n.RuntimeOverlay.Get()+".img", strings.Split(req.RemoteAddr, ":")[0])
|
||||
|
||||
} else {
|
||||
w.WriteHeader(503)
|
||||
daemonLogf("WARNING: No 'runtime system-overlay' set for node %s\n", n.Id.Get())
|
||||
|
||||
Reference in New Issue
Block a user