mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Minor typo
Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
parent
6efe45990d
commit
40d3ce1063
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// 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.
|
// channel is returned as it will be non-blocking and return the correct result when read.
|
||||||
func notifyOnOOM(container libcontainer.Container) <-chan struct{} {
|
func notifyOnOOM(container libcontainer.Container) <-chan struct{} {
|
||||||
oom, err := container.NotifyOOM()
|
oom, err := container.NotifyOOM()
|
||||||
|
|
Loading…
Add table
Reference in a new issue