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

generate: Assign value to devices.type when the value is empty #375

Closed
wants to merge 1 commit into from

Conversation

zhouhao3
Copy link

Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
@liangchenye
Copy link
Member

Why should we set this, if a 'type' is empty, it means the template file is invalid, we can drop or ignore it. 'a' is not valid https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#devices

@wking
Copy link
Contributor

wking commented Apr 28, 2017 via email

@Mashimiao
Copy link

Currently, unset case is also valid, let's leave it alone. People may be confused about that his template is changed.

@Mashimiao Mashimiao closed this May 5, 2017
@zhouhao3 zhouhao3 deleted the set-devices branch October 18, 2017 08:11
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