Skip to content

Commit

Permalink
Add missing json tags to wait fn args (#1097)
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 committed Sep 22, 2021
1 parent 86ec484 commit 93d2d33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/function/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ import (
)

type WaitConditions struct {
AnyOf []Condition
AllOf []Condition
AnyOf []Condition `json:"anyOf,omitempty"`
AllOf []Condition `json:"allOf,omitempty"`
}

type Condition struct {
ObjectReference crv1alpha1.ObjectReference
Condition string
ObjectReference crv1alpha1.ObjectReference `json:"objectReference,omitempty"`
Condition string `json:"condition,omitempty"`
}

const (
Expand Down

0 comments on commit 93d2d33

Please sign in to comment.