Skip to content

Commit

Permalink
remove unsupported fields
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVin committed Dec 6, 2023
1 parent 6dcca68 commit ab7d57c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions condition/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ type Parameters interface {
// Definition holds the default parameters for a Condition.
type Definition struct {
Kind Kind `mapstructure:"kind"`
OnSuccessCondition Kind `mapstructure:"onSuccessCondition"`
Exclusive bool `mapstructure:"exclusive"`
FailOnCheckpointError bool `mapstructure:"failOnCheckpointError"`
}

Expand Down Expand Up @@ -122,17 +120,10 @@ type Condition struct {
// reconciling the condition and the client requesting the condition.
Status json.RawMessage `json:"status,omitempty"`

// OnSuccess execute another condition when defined
// OnSuccess *Condition `json:"onSuccess,omitempty"`

// Should the worker executing this condition fail if its unable to checkpoint
// the status of work on this condition.
FailOnCheckpointError bool `json:"failOnCheckpointError,omitempty"`

// Exclusive indicates this condition holds exclusive access to the device
// and other conditions have to wait until this is in a finalized state.
Exclusive bool `json:"exclusive,omitempty"`

// Fault is used to introduce faults into the controller when executing on a condition.
Fault *Fault `json:"fault,omitempty"`

Expand Down

0 comments on commit ab7d57c

Please sign in to comment.