From 879ca47590ad51598d6998265ec2d63c70c2c3e6 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 026a289..dcea7e6 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