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

specs-go/config: Make Spec.Mounts omitempty #408

Merged
merged 2 commits into from
Apr 28, 2016

Conversation

wking
Copy link
Contributor

@wking wking commented Apr 28, 2016

And use “MAY” (RFC 2119) instead of “can” in the Markdown docs.

Otherwise:

$ ocitools generate --mount-cgroups=no --template <(echo {})
$ grep mounts config.json
        "mounts": null,

Otherwise:

  $ ocitools generate --mount-cgroups=no --template <(echo {})
  $ grep mounts config.json
          "mounts": null,

The language in config.md#Mounts is:

> You can add array of mount points...

which I think means 'MAY'.

Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: W. Trevor King <wking@tremily.us>
@vbatts
Copy link
Member

vbatts commented Apr 28, 2016

LGTM. These commits can be squashed.

@vbatts vbatts merged commit 440fc5b into opencontainers:master Apr 28, 2016
@wking wking deleted the mounts-omitempty branch May 13, 2016 17:34
Mashimiao pushed a commit to Mashimiao/specs that referenced this pull request Aug 19, 2016
* specs-go/config: Make Spec.Mounts omitempty

Otherwise:

  $ ocitools generate --mount-cgroups=no --template <(echo {})
  $ grep mounts config.json
          "mounts": null,

The language in config.md#Mounts is:

> You can add array of mount points...

which I think means 'MAY'.

Signed-off-by: W. Trevor King <wking@tremily.us>

* config: Use 'MAY' (RFC 2119) for mounts

Signed-off-by: W. Trevor King <wking@tremily.us>
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.

None yet

2 participants