Skip to content

Commit

Permalink
Rename online to status in /servers?extrainfo=true
Browse files Browse the repository at this point in the history
  • Loading branch information
retrixe committed Jul 25, 2023
1 parent b85ef9a commit 78ee131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector.go
Expand Up @@ -311,7 +311,7 @@ func (connector *Connector) registerMiscRoutes() {
connector.Processes.Range(func(k string, v *managedProcess) bool {
if r.URL.Query().Get("extrainfo") == "true" {
processes[v.Name] = map[string]interface{}{
"online": v.Online.Load(),
"status": v.Online.Load(),
"toDelete": v.ToDelete.Load(),
}
} else {
Expand Down

0 comments on commit 78ee131

Please sign in to comment.