Skip to content

Conversation

@RadoslavGatev
Copy link
Contributor

Description

Removed an unneeded line that concatenates the API version to the constructed path. This is already being handled by the underlying Azure Rest Operations. https://github.com/Azure/azure-powershell-common/blob/main/src/Common/AzureRest/AzureRestOperations.cs#L417-L420

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

@ghost ghost added the customer-reported label Dec 9, 2021
@ghost
Copy link

ghost commented Dec 9, 2021

Thank you for your contribution RadoslavGatev! We will review the pull request and get back to you soon.

@RadoslavGatev
Copy link
Contributor Author

Fixes #16615

@RadoslavGatev RadoslavGatev changed the title [Az.Accounts] Fix the doubled Api Version in final Absolute Uri of Invoke-AzRestMethod [Az.Accounts] Fix the doubled Api Version in Uri of the request issued by Invoke-AzRestMethod Dec 9, 2021
@msJinLei
Copy link
Contributor

/azp run azure-powershell - security-tools

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@dingmeng-xue dingmeng-xue merged commit 34ede10 into Azure:main Dec 10, 2021
@dingmeng-xue dingmeng-xue linked an issue Dec 22, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invoke-AzRestMethod doubles ApiVersion in the final Absolute Uri

3 participants