From ef23bab44479fc5a1960b9357b64e556402527d8 Mon Sep 17 00:00:00 2001 From: Chloroplast Yu Date: Thu, 10 Jun 2021 20:25:10 +0800 Subject: [PATCH] Fix ci_media.go and example/CI/media_process/media_process.go --- ci_media.go | 2 +- example/CI/media_process/media_process.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci_media.go b/ci_media.go index 971ba7b..b9dfd90 100644 --- a/ci_media.go +++ b/ci_media.go @@ -112,7 +112,7 @@ type CreateMediaJobsOptions struct { Input *JobInput `xml:"Input,omitempty"` Operation *MediaProcessJobOperation `xml:"Operation,omitempty"` QueueId string `xml:"QueueId,omitempty"` - CallBack string `xml:"CallBack,omitempty"` + CallBack string `xml:"CallBack,omitempty"` } type MediaProcessJobDetail struct { diff --git a/example/CI/media_process/media_process.go b/example/CI/media_process/media_process.go index 15466b8..c822a02 100644 --- a/example/CI/media_process/media_process.go +++ b/example/CI/media_process/media_process.go @@ -91,7 +91,7 @@ func main() { fmt.Printf("%+v\n", createJobRes.JobsDetail) // DescribeMediaJobs - DescribeJobRes, _, err := c.CI.DescribeMediaJobs(context.Background(), createJobRes.JobsDetail.JobId) + DescribeJobRes, _, err := c.CI.DescribeMediaJob(context.Background(), createJobRes.JobsDetail.JobId) log_status(err) fmt.Printf("%+v\n", DescribeJobRes.JobsDetail) }