Skip to content

Some fixes for new LABEL stuff - #11437

Merged
icecrime merged 1 commit into
moby:masterfrom
duglin:FixLabels
Mar 17, 2015
Merged

icecrime merged 1 commit into
moby:masterfrom
duglin:FixLabels

Conversation

@duglin

@duglin duglin commented Mar 17, 2015

Copy link
Copy Markdown
Contributor
  • command.Commands was missing "Label"
  • used the correct error string in dispatcher when LABEL has no args, otherwise
    the test TestBuildMissingArgs will not work
  • removed the premature error msg in line_parser that was blocking the
    label() func in dispatcher from showing the err msg in previous bullet
  • since LABEL uses the env parser it needs to be added to the replaceEnvAllowed
    list so that proper quote processing will be done. Especially once
    PR Clarify ENV non-recursivenes w.r.t. env var substitution + fix escaping #10431 is merged.

Signed-off-by: Doug Davis [email protected]

@duglin duglin changed the title Some fixed for new LABEL stuff Some fixes for new LABEL stuff Mar 17, 2015
- command.Commands was missing "Label"
- used the correct error string in dispatcher when LABEL has no args, otherwise
  the test TestBuildMissingArgs will not work
- removed the premature error msg in line_parser that was blocking the
  label() func in dispatcher from showing the err msg in previous bullet
- since LABEL uses the env parser it needs to be added to the replaceEnvAllowed
  list so that proper quote processing will be done.  Especially once
  PR moby#10431 is merged.

Signed-off-by: Doug Davis <[email protected]>
@jessfraz

Copy link
Copy Markdown
Contributor

LGTM

@icecrime icecrime added this to the 1.6.0 milestone Mar 17, 2015
@icecrime

Copy link
Copy Markdown
Contributor

LGTM

icecrime pushed a commit that referenced this pull request Mar 17, 2015
Some fixes for new LABEL stuff
@icecrime
icecrime merged commit ad56b5c into moby:master Mar 17, 2015
@duglin
duglin deleted the FixLabels branch March 20, 2015 12:19
@thaJeztah thaJeztah added area/builder Build kind/bugfix PR's that fix bugs labels Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/builder Build kind/bugfix PR's that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants