Skip to content

Commit f70fba5

Browse files
committed
naming...
Signed-off-by: Steven Jin Xuan <[email protected]>
1 parent 350425a commit f70fba5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

artifacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ type ArtifactConfig struct {
136136
// Group is the group name that should own the artifact
137137
Group string `yaml:"group,omitempty" json:"group,omitempty"`
138138
// LinuxCapabilities is the list of Linux capabilities to set on the artifact
139-
LinuxCapabilities []ArtifactCapability `yaml:"capabilities,omitempty" json:"capabilities,omitempty"`
139+
LinuxCapabilities []ArtifactCapability `yaml:"linux_capabilities,omitempty" json:"linux_capabilities,omitempty"`
140140
}
141141

142142
// ArtifactCapability represents a Linux Capability to set on an artifact

docs/spec.schema.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,14 @@
143143
},
144144
"ArtifactConfig": {
145145
"properties": {
146-
"capabilities": {
146+
"group": {
147+
"type": [
148+
"string",
149+
"null"
150+
],
151+
"description": "Group is the group name that should own the artifact"
152+
},
153+
"linux_capabilities": {
147154
"items": {
148155
"$ref": "#/$defs/ArtifactCapability"
149156
},
@@ -152,13 +159,6 @@
152159
],
153160
"description": "LinuxCapabilities is the list of Linux capabilities to set on the artifact"
154161
},
155-
"group": {
156-
"type": [
157-
"string",
158-
"null"
159-
],
160-
"description": "Group is the group name that should own the artifact"
161-
},
162162
"name": {
163163
"type": [
164164
"string",

0 commit comments

Comments
 (0)