Skip to content

Commit

Permalink
Fix fileMode json example
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hqhq committed Feb 17, 2016
1 parent 8c835d2 commit e614748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The following parameters can be specified:
"type": 99,
"major": 10,
"minor": 229,
"fileMode": 0666,
"fileMode": 438,
"uid": 0,
"gid": 0
},
Expand All @@ -139,7 +139,7 @@ The following parameters can be specified:
"type": 98,
"major": 8,
"minor": 0,
"fileMode": 0660,
"fileMode": 432,
"uid": 0,
"gid": 0
}
Expand Down

0 comments on commit e614748

Please sign in to comment.