Skip to content

Commit

Permalink
Merge pull request #439 from davidstack/master
Browse files Browse the repository at this point in the history
set the json name of exitCode
  • Loading branch information
volcano-sh-bot authored Sep 6, 2019
2 parents a782912 + d3e0d5c commit 5cc018a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/batch/v1alpha1/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ type LifecyclePolicy struct {
// according to this code.
// Note: only one of `Event` or `ExitCode` can be specified.
// +optional
ExitCode *int32
ExitCode *int32 `json:"exitCode,omitempty" protobuf:"bytes,5,opt,name=exitCode"`

// Timeout is the grace period for controller to take actions.
// Default to nil (take action immediately).
Expand Down

0 comments on commit 5cc018a

Please sign in to comment.