fix comment.

This commit is contained in:
jolestar 2017-07-12 19:27:59 +08:00
parent 0547cc3c3e
commit 0a2188725d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func WaitJob(jobService *service.JobService, jobID string, timeout time.Duration
}, timeout, waitInterval)
}
// CheckJob wait the job with this jobID finish
// CheckJobStatus get job status
func CheckJobStatus(jobService *service.JobService, jobID string) (string,error) {
input := &service.DescribeJobsInput{Jobs: []*string{&jobID}}
output, err := jobService.DescribeJobs(input)