fix local runtime (#1383)

This commit is contained in:
Asim Aslam
2020-03-19 22:38:37 +00:00
committed by GitHub
parent 4c6f68d537
commit e49be1da42
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ func (s *service) shouldStart() bool {
if s.running {
return false
}
return s.maxRetries <= s.retries
return s.retries <= s.maxRetries
}
func (s *service) ShouldStart() bool {