-
Notifications
You must be signed in to change notification settings - Fork 903
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
Migrate some amazon code to typescript #9742
Migrate some amazon code to typescript #9742
Conversation
88a0100
to
835a0c6
Compare
835a0c6
to
cf57730
Compare
@@ -39,7 +39,7 @@ export interface ILicenseConfig { | |||
export interface IMetadataOptions { | |||
httpEndpoint?: 'disabled' | 'enabled'; | |||
httpPutResponseHopLimit?: number; | |||
httpsTokens?: 'required' | 'optional'; | |||
httpTokens?: 'required' | 'optional'; |
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.
Not familiar at all with the AWS code base, but purely from an interest standpoint what's the reasoning for this?
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.
this interface was incorrectly written as httpsTokens
but the backend expects httpTokens
. The code that exercised this was Javascript, not Typescript so the incorrect interface definition wasn't caught earlier.
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.
Looks good to me from a JS standpoint. Only one question.
cf57730
to
4ab0714
Compare
8e13436
to
b137ab5
Compare
The bulk of this change is
AwsInstanceTypeService
andAwsServerGroupCommandBuilder
Github isn't really tracking all the renames so the diff looks awful. Review if you can/want. I hope I didn't break anything.