kill all processes correctly for micro kill command (#1633)
This commit is contained in:
@@ -536,7 +536,7 @@ func (r *runtime) Delete(s *Service, opts ...DeleteOption) error {
|
||||
}
|
||||
if s, ok := r.services[serviceKey(s)]; ok {
|
||||
// check if running
|
||||
if s.Running() {
|
||||
if !s.Running() {
|
||||
delete(r.services, s.key())
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user