[REV] check service status when get status is unknow

This commit is contained in:
barnettZQG 2018-05-29 19:27:24 +08:00
parent 055773bbdf
commit 18b94eceff

View File

@ -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"
}