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

Fix type of devices type #323

Merged
merged 2 commits into from
Feb 29, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix fileMode json example
In json, os.FileMode would be presented as a uint32, which
is decimal. Otherwise we'll get error:
`invalid character '6' after object key:value pair`
when unmarshal the json file.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
hqhq committed Feb 23, 2016
commit ccf3a246ca3721ec850628d8f133603ebbb27d8e
4 changes: 2 additions & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ The following parameters can be specified:
"type": "c",
"major": 10,
"minor": 229,
"fileMode": 0666,
"fileMode": 438,
"uid": 0,
"gid": 0
},
@@ -139,7 +139,7 @@ The following parameters can be specified:
"type": "b",
"major": 8,
"minor": 0,
"fileMode": 0660,
"fileMode": 432,
"uid": 0,
"gid": 0
}