mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
cleanup: outdated comment
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import (
|
|||||||
|
|
||||||
const SD_LISTEN_FDS_START = 3
|
const SD_LISTEN_FDS_START = 3
|
||||||
|
|
||||||
|
// default action is to start a container
|
||||||
var startCommand = cli.Command{
|
var startCommand = cli.Command{
|
||||||
Name: "start",
|
Name: "start",
|
||||||
Usage: "create and run a container",
|
Usage: "create and run a container",
|
||||||
@@ -114,8 +115,6 @@ func startContainer(context *cli.Context, spec *specs.LinuxSpec) (int, error) {
|
|||||||
return handler.forward(process)
|
return handler.forward(process)
|
||||||
}
|
}
|
||||||
|
|
||||||
// default action is to execute a container
|
|
||||||
|
|
||||||
// If systemd is supporting sd_notify protocol, this function will add support
|
// If systemd is supporting sd_notify protocol, this function will add support
|
||||||
// for sd_notify protocol from within the container.
|
// for sd_notify protocol from within the container.
|
||||||
func setupSdNotify(spec *specs.LinuxSpec, notifySocket string) {
|
func setupSdNotify(spec *specs.LinuxSpec, notifySocket string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user