Minor typo
Signed-off-by: Hu Keping <hukeping@huawei.com> Upstream-commit: 40d3ce1063a4dabfb1634a4f0739dea05b63a344 Component: engine
This commit is contained in:
@ -196,7 +196,7 @@ func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba
|
||||
}
|
||||
|
||||
// notifyOnOOM returns a channel that signals if the container received an OOM notification
|
||||
// for any process. If it is unable to subscribe to OOM notifications then a closed
|
||||
// for any process. If it is unable to subscribe to OOM notifications then a closed
|
||||
// channel is returned as it will be non-blocking and return the correct result when read.
|
||||
func notifyOnOOM(container libcontainer.Container) <-chan struct{} {
|
||||
oom, err := container.NotifyOOM()
|
||||
|
||||
Reference in New Issue
Block a user