[go: nahoru, domu]

Skip to content

Commit

Permalink
"Updating samples to reflect recent changes."
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick committed Apr 15, 2014
1 parent 67e4bdf commit 19e89f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/upload_video.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func main() {
Status: &youtube.VideoStatus{PrivacyStatus: *privacy},
}

// The API returns a 400 Bad Request response if tags is an empty string.
// If tags is an empty string, this will cause the API to return a 400 Bad Request
if strings.Trim(*keywords, "") != "" {
upload.Snippet.Tags = strings.Split(*keywords, ",")
}
Expand Down

0 comments on commit 19e89f4

Please sign in to comment.