azure-sdk-for-go: Track1 async LRO for PUT operation doesn't accept bodyless response

I’m not sure whether this is a SDK issue or service issue.

The automation runbook draft content API is a LRO, while when I try to create it via ReplaceContent() and wait via WaitForCompletionRef(), it failed with:

pollingTrackerPut#checkForErrors: the response did not contain a body: StatusCode=0

I can confirm that the API response of the polling has no body. Also I’ve noticed that for PUT operation, the response body is a must have. So my question is that whether current behavior of the async handling is as expected, or is this rather a service side issue?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (12 by maintainers)

Most upvoted comments

This issue is no longer a block as we have switched to hashicorp/go-azure-sdk? The track 1 sdk should not maintained anymore.

@tadelesh any update on this one?