[BUG] UserAgent in spring-cloud-azure-core will be overrided by user defined project.properties #27303
Closed
3 tasks done
Labels
azure-spring
All azure-spring related issues
Client
This issue points to a problem in the data-plane of the library.
Milestone
Describe the bug
The method getVersion will return wrong value if the classpath has more than one
META-INF/project.properties
Exception or Stack Trace
No.
To Reproduce
This is a mini sample to reproduce this issue.
Expected behavior
Expected behavior
userAgentSuffix='az-sd-cos/3.17.0az-sp-cos/4.0.0-beta.3'
but the result is userAgentSuffix='az-sd-cos/4.0.0-beta.3az-sp-cos/123',
Screenshots
The reason is
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
``
The text was updated successfully, but these errors were encountered: