Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema/config_test.go: add a test for an env var without =value #693

Merged
merged 1 commit into from
Jun 23, 2017

Conversation

AkihiroSuda
Copy link
Member

Related: moby/moby#33557

Signed-off-by: Akihiro Suda [email protected]

@@ -199,6 +199,13 @@ func validateConfig(r io.Reader) error {

checkPlatform(header.OS, header.Architecture)

envRegexp := regexp.MustCompile(`^.+=.*$`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be: ``^[^=]+=.*$`.

@AkihiroSuda
Copy link
Member Author

updated @stevvooe

@AkihiroSuda
Copy link
Member Author

CI failure is unrelated #697

@stevvooe
Copy link
Contributor

stevvooe commented Jun 14, 2017

LGTM

Approved with PullApprove

@stevvooe
Copy link
Contributor

@AkihiroSuda Could you try rebasing?

@AkihiroSuda
Copy link
Member Author

rebased

@philips
Copy link
Contributor

philips commented Jun 23, 2017

LGTM

Approved with PullApprove

1 similar comment
@vbatts
Copy link
Member

vbatts commented Jun 23, 2017

LGTM

Approved with PullApprove

@vbatts vbatts merged commit af173bc into opencontainers:master Jun 23, 2017
@vbatts vbatts mentioned this pull request Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants