MCPcopy Create free account
hub / github.com/convox/rack / waitForContainer

Method waitForContainer

pkg/sync/sync.go:369–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369func (s *Sync) waitForContainer() {
370 for {
371 if res, err := s.docker.InspectContainer(s.Container); err == nil && res.State.Running {
372 return
373 }
374 time.Sleep(1 * time.Second)
375 }
376}
377
378func (s *Sync) watchIncoming(st Stream) {
379 s.uploadChangesDaemon(st)

Callers 1

StartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected