Skip to content

Commit

Permalink
fix validate string
Browse files Browse the repository at this point in the history
  • Loading branch information
fobilow committed Nov 25, 2024
1 parent 5ccfa58 commit 9613c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1/scheduler/attempt_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ type AttemptConfig struct {

RecoveryAgentConnectorID string `json:"recoveryAgentConnectorID" yaml:"recoveryAgentConnectorID"`

ChargeType ChargeType `json:"chargeType" yaml:"chargeType" validate:"oneof='' adhoc"`
ChargeType ChargeType `json:"chargeType" yaml:"chargeType" validate:"oneof='' unscheduled"`
}

0 comments on commit 9613c5c

Please sign in to comment.