353
378
errors = append(errors, fmt.Errorf("cannot remove service %q: %v", agentServiceName, err))
356
385
// The machine agent may terminate without knowing its jobs,
357
386
// for example if the machine's entry in state was removed.
358
387
// Thus, we do not rely on jobs here, and instead just check