-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[AKS] regex bug fix for LinuxProfile.AdminUser #3591
Conversation
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
@@ -981,7 +981,7 @@ | |||
"adminUsername": { | |||
"type": "string", | |||
"description": "The administrator username to use for Linux VMs.", | |||
"pattern": "^[a-z][a-z0-9_-]*$" | |||
"pattern": "^[A-Za-z][-A-Za-z0-9_]*$" |
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.
Your current input files are:
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
and this PR creates this error:
INFO:swaggertosdk.autorest_tools:Process() cancelled due to exception : '$.definitions.ContainerServiceLinuxProfile.properties.adminUsername.pattern' has incompatible values (---
INFO:swaggertosdk.autorest_tools:'^[a-z][a-z0-9_-]*$'
INFO:swaggertosdk.autorest_tools:, ---
INFO:swaggertosdk.autorest_tools:'^[A-Za-z][-A-Za-z0-9_]*$'
INFO:swaggertosdk.autorest_tools:).
which means to me that containerService or location files defines this same object, and needs to be updated as well, or the model renamed to avoid conflicts.
@weinong The Go build is failing because you need to fix @marstr This is the limit of shipping composite "package-2018-03" and "package-2017-09" in Go with mixed-up api-version. If tag |
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
@hovsepm I have no concerns anymore with the PR, up to you now. Thanks for tagging me initially :). |
Thanks for helping @lmazuel . |
* Wandisco.Fusion syncing swagger definitions * Wandisco.Fusion syncing swagger definitions > Hi @raych1, this was observed visually while preparing a new API review with breaking changes. We have updated the new API to reflect the corrected examples (not yet published), and it seemed sensible to back port them. I confirmed with the breaking change review team that updating examples is not considered breaking provided the API itself does not change, which it hasn't. > > Do you see any issue that we might not have considered?
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger