Skip to content

Commit 4aa6d3e

Browse files
kijimaDZheaoli
authored andcommitted
chore: format JSON file make -C schema fmt
Signed-off-by: Kijima Daigo <[email protected]>
1 parent 13f5ba5 commit 4aa6d3e

File tree

7 files changed

+31
-20
lines changed

7 files changed

+31
-20
lines changed

schema/config-schema.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@
181181
"priority": {
182182
"$ref": "defs.json#/definitions/int32"
183183
},
184-
"flags": {
185-
"type": "array",
186-
"items": {
187-
"$ref": "defs-linux.json#/definitions/SchedulerFlag"
188-
}
184+
"flags": {
185+
"type": "array",
186+
"items": {
187+
"$ref": "defs-linux.json#/definitions/SchedulerFlag"
188+
}
189189
},
190190
"runtime": {
191191
"$ref": "defs.json#/definitions/uint64"

schema/defs-zos.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
],
3030
"properties": {
3131
"path": {
32-
"$ref": "defs.json#/definitions/FilePath"
32+
"$ref": "defs.json#/definitions/FilePath"
3333
},
3434
"type": {
35-
"$ref": "#/definitions/FileType"
35+
"$ref": "#/definitions/FileType"
3636
},
3737
"major": {
38-
"$ref": "#/definitions/Major"
38+
"$ref": "#/definitions/Major"
3939
},
4040
"minor": {
41-
"$ref": "#/definitions/Minor"
41+
"$ref": "#/definitions/Minor"
4242
},
4343
"fileMode": {
4444
"$ref": "#/definitions/FileMode"

schema/features-linux.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@
104104
"idmap": {
105105
"type": "object",
106106
"properties": {
107-
"enabled": {
107+
"enabled": {
108108
"type": "boolean"
109109
}
110-
}
110+
}
111111
}
112112
}
113113
}

schema/features-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"potentiallyUnsafeConfigAnnotations": {
2222
"$ref": "defs.json#/definitions/ArrayOfStrings"
2323
},
24-
"linux": {
24+
"linux": {
2525
"$ref": "features-linux.json#/linux"
2626
}
2727
},

schema/test/config/good/spec-example.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,14 @@
159159
"createRuntime": [
160160
{
161161
"path": "/usr/bin/fix-mounts",
162-
"args": ["fix-mounts", "arg1", "arg2"],
163-
"env": [ "key1=value1"]
162+
"args": [
163+
"fix-mounts",
164+
"arg1",
165+
"arg2"
166+
],
167+
"env": [
168+
"key1=value1"
169+
]
164170
},
165171
{
166172
"path": "/usr/bin/setup-network"
@@ -169,8 +175,14 @@
169175
"createContainer": [
170176
{
171177
"path": "/usr/bin/mount-hook",
172-
"args": ["-mount", "arg1", "arg2"],
173-
"env": [ "key1=value1"]
178+
"args": [
179+
"-mount",
180+
"arg1",
181+
"arg2"
182+
],
183+
"env": [
184+
"key1=value1"
185+
]
174186
}
175187
],
176188
"startContainer": [

schema/test/config/good/zos-minimal.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
"root": {
44
"path": "rootfs"
55
},
6-
"zos": {
7-
}
6+
"zos": {}
87
}

schema/test/features/good/runc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@
171171
"SCMP_ARCH_X86_64"
172172
],
173173
"knownFlags": [
174-
"SECCOMP_FILTER_FLAG_LOG"
174+
"SECCOMP_FILTER_FLAG_LOG"
175175
],
176176
"supportedFlags": [
177-
"SECCOMP_FILTER_FLAG_LOG"
177+
"SECCOMP_FILTER_FLAG_LOG"
178178
]
179179
},
180180
"apparmor": {

0 commit comments

Comments
 (0)