Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Rollback #172 as it introduce hard requirements for the list values t…
Browse files Browse the repository at this point in the history
…o not be empty (#174)

* Change listType to be map for jobstatus condition

* rollback the changes to allow empty value for condition
  • Loading branch information
pugangxa authored Nov 11, 2021
1 parent a1f26a9 commit bbdf282
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pkg/apis/common/v1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pkg/apis/common/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
// +k8s:deepcopy-gen=true
// JobStatus represents the current observed state of the training Job.
type JobStatus struct {
// +listType=set
// Conditions is an array of current observed job conditions.
Conditions []JobCondition `json:"conditions"`

Expand Down

0 comments on commit bbdf282

Please sign in to comment.