Remove unused id field from Builder.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
bfcd95817a
commit
a6abd57b83
2 changed files with 1 additions and 6 deletions
|
@ -100,8 +100,7 @@ type ContainerCommitConfig struct {
|
|||
Changes []string
|
||||
}
|
||||
|
||||
// ProgressWriter is an interface
|
||||
// to transport progress streams.
|
||||
// ProgressWriter is a data object to transport progress streams to the client
|
||||
type ProgressWriter struct {
|
||||
Output io.Writer
|
||||
StdoutFormatter *streamformatter.StdoutFormatter
|
||||
|
|
|
@ -65,9 +65,6 @@ type Builder struct {
|
|||
buildArgs *buildArgs
|
||||
directive parser.Directive
|
||||
|
||||
// TODO: remove once docker.Commit can receive a tag
|
||||
id string
|
||||
|
||||
imageCache builder.ImageCache
|
||||
from builder.Image
|
||||
}
|
||||
|
@ -127,7 +124,6 @@ func NewBuilder(clientCtx context.Context, config *types.ImageBuildOptions, back
|
|||
context: buildContext,
|
||||
runConfig: new(container.Config),
|
||||
tmpContainers: map[string]struct{}{},
|
||||
id: stringid.GenerateNonCryptoID(),
|
||||
buildArgs: newBuildArgs(config.BuildArgs),
|
||||
directive: parser.Directive{
|
||||
EscapeSeen: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue