Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
155c1a44
Commit
155c1a44
authored
Apr 20, 2016
by
derekwaynecarr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConfigMapList.Items should not be omitempty
parent
f8d4f615
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
types.go
pkg/api/types.go
+1
-1
types.go
pkg/api/v1/types.go
+1
-1
No files found.
pkg/api/types.go
View file @
155c1a44
...
@@ -2407,7 +2407,7 @@ type ConfigMapList struct {
...
@@ -2407,7 +2407,7 @@ type ConfigMapList struct {
unversioned
.
ListMeta
`json:"metadata,omitempty"`
unversioned
.
ListMeta
`json:"metadata,omitempty"`
// Items is the list of ConfigMaps.
// Items is the list of ConfigMaps.
Items
[]
ConfigMap
`json:"items
,omitempty
"`
Items
[]
ConfigMap
`json:"items"`
}
}
// These constants are for remote command execution and port forwarding and are
// These constants are for remote command execution and port forwarding and are
...
...
pkg/api/v1/types.go
View file @
155c1a44
...
@@ -2856,7 +2856,7 @@ type ConfigMapList struct {
...
@@ -2856,7 +2856,7 @@ type ConfigMapList struct {
unversioned
.
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
unversioned
.
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Items is the list of ConfigMaps.
// Items is the list of ConfigMaps.
Items
[]
ConfigMap
`json:"items
,omitempty
" protobuf:"bytes,2,rep,name=items"`
Items
[]
ConfigMap
`json:"items" protobuf:"bytes,2,rep,name=items"`
}
}
// Type and constants for component health validation.
// Type and constants for component health validation.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment