Skip to content

Commit

Permalink
Update trial status DB operation (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
hougangliu authored and k8s-ci-robot committed May 17, 2019
1 parent eb7235e commit 928c66a
Show file tree
Hide file tree
Showing 13 changed files with 490 additions and 651 deletions.
307 changes: 157 additions & 150 deletions pkg/api/v1alpha2/api.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pkg/api/v1alpha2/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ message ExperimentStatus {
RESTARTING = 2;
SUCCEEDED = 3;
FAILED = 4;
UNKNOWN = 5;
}
string start_time = 1; /// RFC3339 format
string completion_time = 2; /// RFC3339 format
Expand Down Expand Up @@ -369,6 +370,7 @@ message TrialStatus {
SUCCEEDED = 2;
KILLED = 3;
FAILED = 4;
UNKNOWN = 5;
}
string start_time = 1; /// RFC3339 format
string completion_time = 2; /// RFC3339 format
Expand Down
6 changes: 4 additions & 2 deletions pkg/api/v1alpha2/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@
"RUNNING",
"RESTARTING",
"SUCCEEDED",
"FAILED"
"FAILED",
"UNKNOWN"
],
"default": "CREATED"
},
Expand Down Expand Up @@ -496,7 +497,8 @@
"RUNNING",
"SUCCEEDED",
"KILLED",
"FAILED"
"FAILED",
"UNKNOWN"
],
"default": "CREATED"
},
Expand Down
Loading

0 comments on commit 928c66a

Please sign in to comment.