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>
This commit is contained in:
parent
9bab930044
commit
ccf3a246ca
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue