-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type of attribute tags for NetApp Account shouldn't be raw type interface{} #7447
Comments
Should this be changed for each existing NetApp API, 2017-08-15, 2019-05-01, 2019-06-01 and the latest 2019-07-01? Does it also require a regeneration of SDK code for either each or latest? A new API 2019-08-01 is expected at the end of this month. Is it sufficient to go in there? |
Since this is a breaking change to SDK (maybe for swagger too), I think it is best to have it changed in the next api version (2019-08-01), we are OK with that. |
Ok, I will link this issue when I create the 2019-08-01 PR. |
Thanks for your response quickly. Can we learn a rough ETA (deadline) when to onboard the fix? |
The RP release associated with the 2019-08-01 API is planned for the beginning of November so I expect we will push this API version to github for review toward the end of October, perhaps late next week. |
@leonardbf Seems this issue is fixed? if yes, can you help close this issue? |
@akning-ms I have unassigned myself from the ticket. It seems I do not have authorisation to close. And yes as mentioned above the issue should be resolved. |
thank you @leonardbf for the fix |
After checked it seems that the type of Tags from every other resource is map[string]*string, but currently the type of attribute tags for NetApp Account is type "interface{}", which is different then all the other resources and it adds unnecessary complexity (https://github.com/Azure/azure-sdk-for-go/blob/8c372e6e1243e0427dffb2d750099ee3ed161a44/services/netapp/mgmt/2019-06-01/netapp/models.go#L95). this is probably an error/issue with the swagger and API, right?
The type of attribute Tags from NetApp Acount Resource in repo "azure-sdk-for-go":
The type of attribute Tags from other resource like resource PrivateLinkService in repo "azure-sdk-for-go":
And I found the type of attribute Tags for NetApp Account is also different than other resource like "network" in repo "Azure/azure-rest-api-specs".
The type of attribute Tags for NetApp Account in repo Azure/azure-rest-api-specs:
The type of attribute Tags for other resource like "network" in repo Azure/azure-rest-api-specs:
The text was updated successfully, but these errors were encountered: