Skip to content

complete specerror of config-linux.md config-windows.md#497

Merged
zhouhao3 merged 1 commit intoopencontainers:masterfrom
liangchenye:unittest
Oct 25, 2017
Merged

complete specerror of config-linux.md config-windows.md#497
zhouhao3 merged 1 commit intoopencontainers:masterfrom
liangchenye:unittest

Conversation

@liangchenye
Copy link
Copy Markdown
Member

Signed-off-by: Liang Chenye liangchenye@huawei.com

Signed-off-by: Liang Chenye <liangchenye@huawei.com>
@liangchenye
Copy link
Copy Markdown
Member Author

Too many RFC codes to translate so runtime.md is not finish yet.
It will come in the next PR.

@Mashimiao
Copy link
Copy Markdown

Mashimiao commented Oct 25, 2017

LGTM If there are not any vital errors, I think we can let this in. If we found any error when taking advantage of them, we can fix other PRs.

Approved with PullApprove

@zhouhao3
Copy link
Copy Markdown

zhouhao3 commented Oct 25, 2017

LGTM

Approved with PullApprove

@zhouhao3 zhouhao3 merged commit f5b24b6 into opencontainers:master Oct 25, 2017
// NSInheritWithoutType represents "If a namespace type is not specified in the `namespaces` array, the container MUST inherit the runtime namespace of that type."
NSInheritWithoutType = "If a namespace type is not specified in the `namespaces` array, the container MUST inherit the runtime namespace of that type."
// NSErrorOnDup represents "If a `namespaces` field contains duplicated namespaces with same `type`, the runtime MUST generate an error."
NSErrorOnDup = "If a `namespaces` field contains duplicated namespaces with same `type`, the runtime MUST generate an error."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is an odd one, because we allow runtimes to skip validation, but I guess not here. And we have similar wording for rlimits. But neither of those are worded quite right for a non-runtime validator like our validate, and it feels odd to force runtimes to error on these but allow them to handle all sorts of other broken configurations. Maybe not worth holding up this PR, but I'll file a spec PR trying to clean this up.

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