-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[stable10] Backport of Fix systemtatgs get,create and update API #34610
Conversation
Fix systemtags get, create and update API. Due to recent changes made to add static tags, the API changes are not compatible with the older version. Hence to make them work as before, minor changes are made. Signed-off-by: Sujith H <[email protected]>
Original PR: #34604 |
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.
👍
Codecov Report
@@ Coverage Diff @@
## stable10 #34610 +/- ##
==============================================
+ Coverage 63.99% 63.99% +<.01%
- Complexity 19223 19229 +6
==============================================
Files 1272 1272
Lines 75703 75712 +9
Branches 1291 1291
==============================================
+ Hits 48446 48455 +9
Misses 26878 26878
Partials 379 379
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## stable10 #34610 +/- ##
==============================================
+ Coverage 63.99% 63.99% +<.01%
- Complexity 19223 19229 +6
==============================================
Files 1272 1272
Lines 75703 75712 +9
Branches 1291 1291
==============================================
+ Hits 48446 48455 +9
Misses 26878 26878
Partials 379 379
Continue to review full report at Codecov.
|
Fix systemtags get, create and update API.
Due to recent changes made to add static tags,
the API changes are not compatible with the
older version. Hence to make them work as
before, minor changes are made.
Signed-off-by: Sujith H [email protected]
Description
Because of recent changes made to add static tags, there were changes made to
getTag
,createTag
andupdateTag
. As a result they were not compatible with the older versions of oC. For example: when any of these methods were called by the user without last argumentuserEditable
, the results were not as expected. The user gets result which were incorrect. Hence this change would help to rectify this problem. The API's should not break.Related Issue
Motivation and Context
Fix the API breakage that happened in the systemtags for
getTag
,createTag
andupdateTag
methods.How Has This Been Tested?
And the output captured for the values in
$tag
:Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: