From 9f47c324b7ee3e5a7dc80edf4391fb841c28d3e3 Mon Sep 17 00:00:00 2001 From: Gihan Date: Sun, 21 Apr 2019 13:29:35 +0530 Subject: [PATCH] api error fix due to status code --- server/dashboard_api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/dashboard_api.go b/server/dashboard_api.go index 026a289b..dcea7e61 100644 --- a/server/dashboard_api.go +++ b/server/dashboard_api.go @@ -279,6 +279,7 @@ func (svr *Service) getProxyStatsByTypeAndName(proxyType string, proxyName strin proxyInfo.CurConns = ps.CurConns proxyInfo.LastStartTime = ps.LastStartTime proxyInfo.LastCloseTime = ps.LastCloseTime + code = 200 } return