WaitForLogger waits until the logger has finished executing and processing container logs
(dataStore, ns, id string)
| 182 | |
| 183 | // WaitForLogger waits until the logger has finished executing and processing container logs |
| 184 | func WaitForLogger(dataStore, ns, id string) error { |
| 185 | return filesystem.WithLock(getLockPath(dataStore, ns, id), func() error { |
| 186 | return nil |
| 187 | }) |
| 188 | } |
| 189 | |
| 190 | // alreadyExited returns a channel that immediately reports an exit, used when |
| 191 | // we have determined that the container's task is already gone. |
no test coverage detected
searching dependent graphs…