Changed JobConditionType from JobSucceded to JobComplete to more accurately reflect job's final state

This commit is contained in:
Maciej Szulik 2015-08-20 10:51:38 +02:00
parent 919c7e94e2
commit 1267388cc6

View File

@ -154,8 +154,8 @@ type JobConditionType string
// These are valid conditions of a job. // These are valid conditions of a job.
const ( const (
// JobSucceeded means the job has successfully completed its execution. // JobComplete means the job has completed its execution.
JobSucceeded JobConditionType = "Complete" JobComplete JobConditionType = "Complete"
) )
// JobCondition describes current state of a job. // JobCondition describes current state of a job.