Merge pull request #7624 from yzxiu/fix-comments

fix comments
This commit is contained in:
Maksym Pavlenko 2022-11-03 20:54:13 -07:00 committed by GitHub
commit 9a5430dbee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ type Monitor struct {
subscribers map[chan runc.Exit]*subscriber
}
// Start starts the command a registers the process with the reaper
// Start starts the command and registers the process with the reaper
func (m *Monitor) Start(c *exec.Cmd) (chan runc.Exit, error) {
ec := m.Subscribe()
if err := c.Start(); err != nil {