Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Fixed log message for ARG step (#111)
Browse files Browse the repository at this point in the history
It was previously printing "ENV" instead of "ARG".
  • Loading branch information
apourchet authored Dec 11, 2018
1 parent 0624203 commit 3d37194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder/step/arg_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ArgStep struct {
// NewArgStep returns a BuildStep from given arguments.
func NewArgStep(args string, name string, resolvedVal *string, commit bool) BuildStep {
return &ArgStep{
baseStep: newBaseStep(Env, args, commit),
baseStep: newBaseStep(Arg, args, commit),
name: name,
resolvedVal: resolvedVal,
}
Expand Down
1 change: 1 addition & 0 deletions lib/builder/step/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type Directive string
// Set of all valid directives.
const (
Add = Directive("ADD")
Arg = Directive("ARG")
Cmd = Directive("CMD")
Copy = Directive("COPY")
Entrypoint = Directive("ENTRYPOINT")
Expand Down

0 comments on commit 3d37194

Please sign in to comment.