Skip to content

Conversation

@wking
Copy link

@wking wking commented Jan 24, 2018

In case this is an easier way for me to make suggestions for opencontainers#942. If these changes look good, you can squash them into your master branch.

Copy link
Owner

@paravmellanox paravmellanox left a comment

Choose a reason for hiding this comment

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

I followed HugepageLimits naming style to reflect as 'RdmaLimits' instead of 'Rdma'.

@wking
Copy link
Author

wking commented Jan 24, 2018 via email

@paravmellanox
Copy link
Owner

Ah I get now.
You are right.
So lets have:
LinuxResources.RdmaLimits as Go property
"rdmaLimits" as JSON property.

This aligns with hugepages naming convention well.

additionalProperties is defined for the JSON Schema draft-04 in [1]
with clearer documentation in draft-07 [2].  It is supportd by
gojsonschema since xeipuuv/gojsonschema@0572d9d (added
additionalProperties with inner schema, 2013-06-21).

[1]: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.4.4
[2]: https://tools.ietf.org/html/draft-handrews-json-schema-validation-00#section-6.5.6

Signed-off-by: W. Trevor King <[email protected]>
@wking
Copy link
Author

wking commented Jan 24, 2018 via email

@paravmellanox paravmellanox merged commit 18ff08c into paravmellanox:master Jan 24, 2018
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