Merge pull request #12657 from dqminh/remove-unused-utils
remove unused utils Upstream-commit: 7708ab5ce2f08bd9d3b492794d997efaccd253fe Component: engine
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
// +build linux
|
||||
|
||||
package native
|
||||
|
||||
//func findUserArgs() []string {
|
||||
//for i, a := range os.Args {
|
||||
//if a == "--" {
|
||||
//return os.Args[i+1:]
|
||||
//}
|
||||
//}
|
||||
//return []string{}
|
||||
//}
|
||||
|
||||
//// loadConfigFromFd loads a container's config from the sync pipe that is provided by
|
||||
//// fd 3 when running a process
|
||||
//func loadConfigFromFd() (*configs.Config, error) {
|
||||
//var config *libcontainer.Config
|
||||
//if err := json.NewDecoder(os.NewFile(3, "child")).Decode(&config); err != nil {
|
||||
//return nil, err
|
||||
//}
|
||||
//return config, nil
|
||||
//}
|
||||
Reference in New Issue
Block a user