Merge pull request #233 from shishir-a412ed/comment_move
cleanup: outdated comment
This commit is contained in:
commit
8447547797
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