MCPcopy
hub / github.com/containerd/containerd / Wait

Method Wait

integration/client/daemon.go:124–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124func (d *daemon) Wait() error {
125 d.Lock()
126 defer d.Unlock()
127 if d.cmd == nil {
128 return errors.New("daemon is not running")
129 }
130 err := d.cmd.Wait()
131 d.cmd = nil
132 return err
133}
134
135func (d *daemon) Restart(stopCb func()) error {
136 d.Lock()

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
WaitMethod · 0.65

Tested by

no test coverage detected