MCPcopy
hub / github.com/opencontainers/runc / waitForContainer

Method waitForContainer

notify_socket.go:99–105  ·  view source on GitHub ↗
(container *libcontainer.Container)

Source from the content-addressed store, hash-verified

97}
98
99func (s *notifySocket) waitForContainer(container *libcontainer.Container) error {
100 state, err := container.State()
101 if err != nil {
102 return err
103 }
104 return s.run(state.InitProcessPid)
105}
106
107func (s *notifySocket) run(pid1 int) error {
108 if s.socket == nil {

Callers 1

start.goFile · 0.80

Calls 2

runMethod · 0.95
StateMethod · 0.80

Tested by

no test coverage detected