Skip to content

Commit 428ed6b

Browse files
committed
schema: fix FileMode type
Signed-off-by: Iceber Gu <[email protected]>
1 parent f1164e5 commit 428ed6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

schema/defs-linux.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@
143143
"$ref": "defs.json#/definitions/int64"
144144
},
145145
"FileMode": {
146-
"description": "File permissions mode (typically an octal value)",
146+
"description": "File mode (typically an octal value)",
147147
"type": "integer",
148148
"minimum": 0,
149-
"maximum": 512
149+
"maximum": 4096
150150
},
151151
"FileType": {
152152
"description": "Type of a block or special character device",

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ type LinuxDevice struct {
386386
Major int64 `json:"major"`
387387
// Minor is the device's minor number.
388388
Minor int64 `json:"minor"`
389-
// FileMode permission bits for the device.
389+
// File mode bits for the device.
390390
FileMode *os.FileMode `json:"fileMode,omitempty"`
391391
// UID of the device.
392392
UID *uint32 `json:"uid,omitempty"`

0 commit comments

Comments
 (0)