Skip to content

Commit

Permalink
Fix release doc and job status. (#1011)
Browse files Browse the repository at this point in the history
Signed-off-by: Syulin7 <735122171@qq.com>
  • Loading branch information
Syulin7 authored Dec 4, 2023
1 parent c4d37ef commit ce87d10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/releases/v0.9.11.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Release 0.9.10
# Release 0.9.11

### Changed

Expand Down
3 changes: 3 additions & 0 deletions pkg/training/trainer_tensorflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ func checkStatus(status commonv1.JobStatus) commonv1.JobConditionType {
for _, condition := range status.Conditions {
if condition.Status == v1.ConditionTrue {
t = condition.Type
if condition.Type != "Queuing" {
break
}
}
}
return t
Expand Down

0 comments on commit ce87d10

Please sign in to comment.