-
Notifications
You must be signed in to change notification settings - Fork 204
[ECS] Refactored from json.RawMessage to ECSTargetGroup struct #4737
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
Conversation
Signed-off-by: t-kikuc <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4737 +/- ##
==========================================
+ Coverage 30.80% 30.85% +0.04%
==========================================
Files 221 222 +1
Lines 26015 26037 +22
==========================================
+ Hits 8015 8033 +18
- Misses 17349 17355 +6
+ Partials 651 649 -2 ☔ View full report in Codecov by Sentry. |
|
/review |
PR AnalysisMain themeRefactoring PR summaryThis pull request refactors the code for loading ECS target groups by replacing the previous JSON decoding mechanism with direct structure initialization. The PR modifies the Type of PRRefactoring PR Feedback:General suggestionsThe refactor from using Code feedback
Security concerns:no The PR does not introduce changes in logic that affect security; it's purely refactoring existing configurations. The newly introduced |
|
@khanhtc1202 |
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Yes! Thanks @ffjlabo We can decide the Besides, I would not modify the |
khanhtc1202
left a comment
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.
👍
ffjlabo
left a comment
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.
🚀
What this PR does / why we need it:
Internal refactoring.
For
pipectl initcommand and ECS redesigning, it's more convenient to have struct than json.RawMessage.Which issue(s) this PR fixes:
no
Does this PR introduce a user-facing change?: no