From f58db1ec09f68189923b7971cdd94556388ab092 Mon Sep 17 00:00:00 2001 From: mountain Date: Wed, 14 Jun 2023 15:33:44 +0900 Subject: [PATCH] =?UTF-8?q?json=20=EC=86=8C=EB=AC=B8=EC=9E=90=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/operation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {