{"action":"created","issue":{"url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/70","labels_url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/70/comments","events_url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/70/events","html_url":"https://github.com/MSOpenTech/azure-sdk-for-go/pull/70","id":63199819,"number":70,"title":"Fix a bug in the putBlockBlob function","user":{"login":"plutoshe","id":1971336,"avatar_url":"https://avatars.githubusercontent.com/u/1971336?v=3","gravatar_id":"","url":"https://api.github.com/users/plutoshe","html_url":"https://github.com/plutoshe","followers_url":"https://api.github.com/users/plutoshe/followers","following_url":"https://api.github.com/users/plutoshe/following{/other_user}","gists_url":"https://api.github.com/users/plutoshe/gists{/gist_id}","starred_url":"https://api.github.com/users/plutoshe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plutoshe/subscriptions","organizations_url":"https://api.github.com/users/plutoshe/orgs","repos_url":"https://api.github.com/users/plutoshe/repos","events_url":"https://api.github.com/users/plutoshe/events{/privacy}","received_events_url":"https://api.github.com/users/plutoshe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-20T09:57:51Z","updated_at":"2015-03-21T04:58:34Z","closed_at":"2015-03-21T04:57:26Z","pull_request":{"url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/pulls/70","html_url":"https://github.com/MSOpenTech/azure-sdk-for-go/pull/70","diff_url":"https://github.com/MSOpenTech/azure-sdk-for-go/pull/70.diff","patch_url":"https://github.com/MSOpenTech/azure-sdk-for-go/pull/70.patch"},"body":"In the putBlockBlob function of storage/blob.go, the original code could not achieve to one block state"},"comment":{"url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/comments/84256467","html_url":"https://github.com/MSOpenTech/azure-sdk-for-go/pull/70#issuecomment-84256467","issue_url":"https://api.github.com/repos/MSOpenTech/azure-sdk-for-go/issues/70","id":84256467,"user":{"login":"plutoshe","id":1971336,"avatar_url":"https://avatars.githubusercontent.com/u/1971336?v=3","gravatar_id":"","url":"https://api.github.com/users/plutoshe","html_url":"https://github.com/plutoshe","followers_url":"https://api.github.com/users/plutoshe/followers","following_url":"https://api.github.com/users/plutoshe/following{/other_user}","gists_url":"https://api.github.com/users/plutoshe/gists{/gist_id}","starred_url":"https://api.github.com/users/plutoshe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plutoshe/subscriptions","organizations_url":"https://api.github.com/users/plutoshe/orgs","repos_url":"https://api.github.com/users/plutoshe/repos","events_url":"https://api.github.com/users/plutoshe/events{/privacy}","received_events_url":"https://api.github.com/users/plutoshe/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T04:58:34Z","updated_at":"2015-03-21T04:58:34Z","body":"I also have a problem about append Uncommitted Block to Blob.\r\nThe code like follow\r\ncli.PutBlockBlob(cnt, blob, New.string(aData))\r\ncli.PutBlock(cnt,blob,PutBlock, cnt, blob, bBlockID, bData)\r\nblockList, err := cli.GetBlockList(cnt,blob, BlockListTypeAll)\r\nvar newBlockList []Block\r\nnewBlockList = <<<combine the Committed Block and Uncommitted Block>>>\r\ncli.PutBlockList(cnt,blob,newBlockList)\r\n\r\nI want to append UncommittedBlocks. But I encounter a error \"storage: remote server returned error. StatusCode=400, ErrorCode=InvalidBlockList, ErrorMessage=The specified block list is invalid.\"\r\n\r\nHowever, I change the cli.PutBlockBlob function to cli.PutBlock and cli.PutBlockList, It works.\r\n\r\nI confused about how to fix it. And I ensure the length of the BlockID is same.\r\n\r\n\r\n"}}