Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
72898b70
Commit
72898b70
authored
Nov 18, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address codereview comment. make Status omitempty
parent
8f995f3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
types.go
manager/manager/types.go
+2
-1
No files found.
manager/manager/types.go
View file @
72898b70
...
@@ -151,8 +151,9 @@ const (
...
@@ -151,8 +151,9 @@ const (
)
)
// ResourceState describes the state of a resource.
// ResourceState describes the state of a resource.
// Status is set during resource creation and is a terminal state.
type
ResourceState
struct
{
type
ResourceState
struct
{
Status
ResourceStatus
`json:"status"`
Status
ResourceStatus
`json:"status
,omitempty
"`
SelfLink
string
`json:"selflink,omitempty"`
SelfLink
string
`json:"selflink,omitempty"`
Errors
[]
string
`json:"errors,omitempty"`
Errors
[]
string
`json:"errors,omitempty"`
}
}
...
...
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