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

Make mount type and source optional #699

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

crosbymichael
Copy link
Member

These are optional on multiple platforms and should be left up to the
runtime/host system for validation.

Closes #470

Signed-off-by: Michael Crosby crosbymichael@gmail.com

@crosbymichael crosbymichael added this to the 1.0.0 milestone Feb 27, 2017
@mrunalp
Copy link
Contributor

mrunalp commented Feb 27, 2017

LGTM

Approved with PullApprove

Copy link
Contributor

@wking wking left a comment

Choose a reason for hiding this comment

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

And similar Go/JSON-Schema updates for source.

@@ -57,11 +57,11 @@ For Windows, see links for details about [mountvol](http://ss64.com/nt/mountvol.
This value MUST be an absolute path.
* Windows: one mount destination MUST NOT be nested within another mount (e.g., c:\\foo and c:\\foo\\bar).
* Solaris: corresponds to "dir" of the fs resource in zonecfg(8).
* **`type`** (string, REQUIRED) The filesystem type of the filesystem to be mounted.
* **`type`** (string, OPTIONAL) The filesystem type of the filesystem to be mounted.
Copy link
Contributor

Choose a reason for hiding this comment

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

This probably needs an omitempty here and dropping the required entry here.

Copy link
Contributor

Choose a reason for hiding this comment

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

This probably needs an omitempty

These were addressed in 7c5796d5246151, and 5246151 looks good to me.

These are optional on multiple platforms and should be left up to the
runtime/host system for validation.

Closes opencontainers#470

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael
Copy link
Member Author

@mrunalp @hqhq @dqminh PTAL

@mrunalp
Copy link
Contributor

mrunalp commented Feb 28, 2017

LGTM

Approved with PullApprove

1 similar comment
@hqhq
Copy link
Contributor

hqhq commented Mar 1, 2017

LGTM

Approved with PullApprove

@hqhq hqhq merged commit 2db8391 into opencontainers:master Mar 1, 2017
@vbatts vbatts mentioned this pull request Mar 6, 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