Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema: allow Device.fileMode set to null.
The `fileMode` is marked optional in the description (https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#devices) In spec-go, fileMode can be set to null. (https://github.com/opencontainers/runtime-spec/blob/master/specs-go/config.go#L347). However, in the schema, a null type is not allowed for fileMode. This patch allows fileMode set to null, and consistent with other optional fields. Signed-off-by: Zhai Zhao Xuan <kxuanobj@gmail.com>
- Loading branch information