Skip to content

Commit fced21d

Browse files
committed
Document service behavior a bit better
1 parent 48c2fd7 commit fced21d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/nebula-service/service.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ func (p *program) Stop(s service.Service) error {
6767
}
6868

6969
p.control.Stop()
70+
71+
// block until nebula has fully drained before reporting stopped.
72+
// error logging is handled by Start.
7073
_ = p.control.Wait()
7174
return nil
7275
}

0 commit comments

Comments
 (0)