Skip to content

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

Closed
zhouhao3 wants to merge 1 commit intoopencontainers:masterfrom
zhouhao3:set-devices
Closed

generate: Assign value to devices.type when the value is empty#375
zhouhao3 wants to merge 1 commit intoopencontainers:masterfrom
zhouhao3:set-devices

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