diff --git a/server/operation.go b/server/operation.go index 943e921..254b1af 100644 --- a/server/operation.go +++ b/server/operation.go @@ -90,8 +90,8 @@ func (sp *hostPool) unregist(key string) { } type hostSnapshot struct { - Procs []ProcessSnapshot - Deploys map[string][]*protos.VersionAndArgs + Procs []ProcessSnapshot `json:"procs"` + Deploys map[string][]*protos.VersionAndArgs `json:"deploys"` } func (sp *hostPool) allHosts() map[string]hostSnapshot {