-
Notifications
You must be signed in to change notification settings - Fork 550
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
remove comment #714
remove comment #714
Conversation
NACK. There's a very good reason that JSON doesn't support comments. While you might not agree with it, it is a valid reason. Not to mention that the runtime-spec specifically tells runtimes to ignore fields they don't recognise (so using |
What does this PR actually do? I don't understand. |
On Tue, Mar 07, 2017 at 06:06:15AM -0800, Aleksa Sarai wrote:
NACK. There's a very good reason that JSON doesn't support comments.
This PR is catching the JSON Schema up with [1]. If you don't want
comments in the JSON, you probably want to file a PR removing the Go
field.
[1]: https://github.com/opencontainers/runtime-spec/pull/657/files#diff-7f24d60f0cbb9c433e165467e3d34838R535
|
-_- Yeah, IMO that should be reverted -- what was the original reason for that field? |
I think that just slipped by. Its not necessary for the spec so we should probably remove it. The spec should be short and concise, only containing information required for the creation/execution of a container. I can see that a comment is a nice to have but not required and probably shouldn't be in the spec. |
So the result of your discussion is to delete the |
@q384566678 ya, I don't think it should have been added in the first place and just slipped by in review. We don't have any other comment fields in the spec. |
6f08eb0
to
b7a172d
Compare
@crosbymichael As you said, I think should delete the |
👍 |
config-linux.md
Outdated
@@ -549,8 +549,7 @@ Operator Constants: | |||
"getcwd", | |||
"chmod" | |||
], | |||
"action": "SCMP_ACT_ERRNO", | |||
"comment": "stop exploit x" | |||
"action": "SCMP_ACT_ERRN" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated, PTAL
Signed-off-by: zhouhao <[email protected]>
b7a172d
to
90427c9
Compare
Signed-off-by: zhouhao [email protected]