Skip to content

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,

wking added 2 commits April 27, 2016 23:33
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.

2 participants