Skip to content

Commit

Permalink
Merge pull request #45 from jortel/empty-conditions
Browse files Browse the repository at this point in the history
Support empty conditions.
  • Loading branch information
jortel authored Feb 2, 2021
2 parents fe56c8a + e48389f commit aac97b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/condition/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (r *Condition) Equal(other Condition) bool {
// "Resource Ready.")
//
type Conditions struct {
List []Condition `json:"conditions"`
List []Condition `json:"conditions,omitempty"`
staging bool `json:"-"`
}

Expand Down

0 comments on commit aac97b8

Please sign in to comment.