Skip to content

Commit f383608

Browse files
committed
status analyzer: fix json tags (required for client-go 0.34.0 compatibility)
1 parent 6621c45 commit f383608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/status/analyzer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ func (s *statusAnalyzer) ComputeStatus(object *unstructured.Unstructured) (Statu
5050
ObservedGeneration *int64 `json:"observedGeneration"`
5151
}
5252
type ObjectStatus struct {
53-
ObservedGeneration *int64 `json:"observedGeneration"`
54-
Conditions []ObjectCondition
53+
ObservedGeneration *int64 `json:"observedGeneration"`
54+
Conditions []ObjectCondition `json:"conditions"`
5555
}
5656
type Object struct {
5757
Status ObjectStatus `json:"status"`

0 commit comments

Comments
 (0)