-
Notifications
You must be signed in to change notification settings - Fork 492
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
improve egctl to support sending multi configs at once (fix #29) #230
improve egctl to support sending multi configs at once (fix #29) #230
Conversation
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.
[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 230 Deploy Test Success
Hi @nevill
Reference |
Codecov Report
@@ Coverage Diff @@
## main #230 +/- ##
=======================================
Coverage 80.12% 80.12%
=======================================
Files 44 44
Lines 4835 4835
=======================================
Hits 3874 3874
Misses 740 740
Partials 221 221 Continue to review full report at Codecov.
|
Thanks @benja-wu for the info. Let me take a look at |
And one more thing, the code analysis format checking is failed. |
bf3240f
to
ab208eb
Compare
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.
[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 230 Deploy Test Success
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.
[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 230 Deploy Test Success
Co-authored-by: Bomin Zhang <[email protected]>
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.
[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 230 Deploy Test Success
- change the signature of VisitorFunc - remove useless function readFromFileOrStdin
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.
[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 230 Deploy Test Success
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
…egress-io#230) * improve egctl to support sending multi configs at once (fix #29) * add a visitor to do the YAML parsing * rollback function readFromFileOrStdin * Update comments. Co-authored-by: Bomin Zhang <[email protected]> * some improvements - change the signature of VisitorFunc - remove useless function readFromFileOrStdin Co-authored-by: Bomin Zhang <[email protected]>
I did a fix on #29 . It sends multiple requests via
egctl
, based on how many YAML parts (separated by---
) it read.I know it's quick and dirty 😌, but if possible, someone can lead me to work more on it.