From 18b94eceffc8478d5c94878835d6a49d3f063784 Mon Sep 17 00:00:00 2001 From: barnettZQG Date: Tue, 29 May 2018 19:27:24 +0800 Subject: [PATCH] [REV] check service status when get status is unknow --- appruntimesync/status/status.go | 1 + 1 file changed, 1 insertion(+) diff --git a/appruntimesync/status/status.go b/appruntimesync/status/status.go index 633daae6d..897ddc041 100644 --- a/appruntimesync/status/status.go +++ b/appruntimesync/status/status.go @@ -260,6 +260,7 @@ func (s *Manager) GetStatus(serviceID string) string { if status, ok := s.status[serviceID]; ok { return status } + s.CheckStatus(serviceID) return "unknow" }