cleanup: outdated comment
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
This commit is contained in:
parent
b1e7041957
commit
0f3545e3d3
3
start.go
3
start.go
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue