mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
remove unused utils
Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
This commit is contained in:
parent
6f94ca6d8b
commit
71b5a754ce
1 changed files with 0 additions and 22 deletions
|
@ -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
|
||||
//}
|
Loading…
Reference in a new issue