azure-sdk-for-go: [Recovery Services] ProtectedItemsClient returns some azure resource ID's with Subscriptions capitalized.

Bug Report

  • import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/backup"
  • SDK version e.g. master, latest, 18.1.0
{
			"checksumSHA1": "XiQW2U5GBOhOfPTwFlFeM2thDCs=",
			"path": "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/backup",
			"revision": "2935c0241c74bd8549b843978dd6fc1be6f48b4a",
			"revisionTime": "2018-08-31T14:25:13Z",
			"version": "=v20.1.0",
			"versionExact": "v20.1.0"
		},
  • output of go version
  • What happened? backup.ProtectedItemsClient returns its response.ID and response.Properties.PolicyID in an unexpected format, Subscriptions is unexpectedly capitalized. This stands out as the protection policy client returns ID’s as lowercase so when using it as an input to this client a different value is returned.

  • What did you expect or want to happen? id returned with subscription in lower case

  • How can we reproduce it?

  • Anything we should know about your environment.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (12 by maintainers)

Most upvoted comments

Fix has been checked-in. It should be deployed by end of November.

@tombuildsstuff looks like the email thread died. 😦 Working on it…