From 849973c449a81624c189d774b2db9f2b04dc4e20 Mon Sep 17 00:00:00 2001 From: mountain Date: Mon, 3 Jul 2023 14:18:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B9=84=EC=8A=A4=20=EC=9E=90?= =?UTF-8?q?=EC=B2=B4=20=ED=83=9C=EA=B7=B8=EB=8F=84=20=EB=84=98=EA=B2=A8?= =?UTF-8?q?=EC=A4=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/http_api.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/http_api.go b/server/http_api.go index dfec8ef..6908172 100644 --- a/server/http_api.go +++ b/server/http_api.go @@ -43,9 +43,12 @@ func (h *houstonHandler) GetDeploySources(w http.ResponseWriter, r *http.Request } getVersions := func(name string) []string { - var out []string vers, _ := os.ReadDir(path.Join(h.deployPath, name)) mytags, _ := os.ReadFile(path.Join(h.deployPath, name, "@tags")) + + out := []string{ + string(mytags), + } for _, fd := range vers { if fd.IsDir() { ver := fd.Name()