1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows: Remove unused commandLine

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2017-02-02 11:16:11 -08:00
parent de26546680
commit b7106a92f2
2 changed files with 2 additions and 7 deletions

View file

@ -251,7 +251,6 @@ func (clnt *client) Create(containerID string, checkpoint string, checkpointDir
client: clnt, client: clnt,
friendlyName: InitFriendlyName, friendlyName: InitFriendlyName,
}, },
commandLine: strings.Join(spec.Process.Args, " "),
}, },
processes: make(map[string]*process), processes: make(map[string]*process),
}, },
@ -354,8 +353,7 @@ func (clnt *client) AddProcess(ctx context.Context, containerID, processFriendly
client: clnt, client: clnt,
systemPid: uint32(pid), systemPid: uint32(pid),
}, },
commandLine: createProcessParms.CommandLine, hcsProcess: newProcess,
hcsProcess: newProcess,
} }
// Add the process to the container's list of processes // Add the process to the container's list of processes

View file

@ -13,10 +13,7 @@ type process struct {
processCommon processCommon
// Platform specific fields are below here. // Platform specific fields are below here.
hcsProcess hcsshim.Process
// commandLine is to support returning summary information for docker top
commandLine string
hcsProcess hcsshim.Process
} }
type autoClosingReader struct { type autoClosingReader struct {