Skip to content

Commit

Permalink
Fix PAI status error (microsoft#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkSnail authored Mar 25, 2020
1 parent c9720e9 commit 75262d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export class PAIJobInfoCollector {
paiTrialJob.status = 'SUCCEEDED';
break;
case 'STOPPED':
case 'STOPPING':
if (paiTrialJob.isEarlyStopped !== undefined) {
paiTrialJob.status = paiTrialJob.isEarlyStopped === true ?
'EARLY_STOPPED' : 'USER_CANCELED';
Expand Down

0 comments on commit 75262d4

Please sign in to comment.