-
Notifications
You must be signed in to change notification settings - Fork 155
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
Upgrade to new azure-go-sdk and refactor old go-autorest references #2368
Conversation
5cffae4
to
e991881
Compare
62b7902
to
f6223fc
Compare
Hi @leuyentran , |
95eabcc
to
8a3e451
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-lim review on my end. Thank you for working on this integration 🙏 The new package is so much nicer to use 😄 I will come back and finish off the reviews soon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 2 of my pre-lim. azuredisk.go
is a beast so I'd like to do another pass later. Awesome job with the integration in that file 🙏
I'm a little nervous on the extent of changes. This is not at all about the quality of PR, but more on the scope of things that need to change that might cause us to miss a thing a two even w PR reviews. What are our testing plans?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 2 of my pre-lim. azuredisk.go
is a beast so I'd like to do another pass later. Awesome job with the integration in that file 🙏
8a3e451
to
72c7a41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed review comments
f5371f9
to
069c08f
Compare
ba7e030
to
e5978a4
Compare
e5978a4
to
4fe7b46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial re-review. Need to take a closer look to azuredisk.go
4fe7b46
to
d6ae3ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed azuredisk.go
as well as the changes made since the last partial reviews. Thank you for the quick around 🙏 . Overall the changes look good to me besides some concerns for nil pointer deref. Please also check Vivek's comment on import ordering 😄
d6ae3ba
to
78aa9e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for breaking down the review changes by commits. it really helped w reviewing.
I have a follow up question on which data is considered critical and should results in errors in case of nil
pointer. Adn on that topic, I'd like to follow up on whether disSize
should be considered a critical data. However, I think these can be follow uped after this PR
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
cb5e7ba
to
0ad1e5f
Compare
Change Overview
As per Azure guidelines, few modules from azure library are retiring support from 31 March 2023 . Due to which there is need to replace such modules with azure recommended azure-go-sdk modules.
go-autorest being used in the blockstorage package will be out of support from March 2023. Follow the documentation below to replace it with a new supported package.
https://azure.microsoft.com/en-us/updates/support-for-azure-sdk-libraries-that-do-not-conform-to-our-current-azure-sdk-guidelines-will-be-retired-as-of-31-march-2023/
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan