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
Support return partial results for supportbundle when some nodes fails #2399
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2399 +/- ##
==========================================
+ Coverage 60.27% 65.19% +4.91%
==========================================
Files 282 283 +1
Lines 22345 25774 +3429
==========================================
+ Hits 13469 16803 +3334
+ Misses 7452 7419 -33
- Partials 1424 1552 +128
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Thanks for the change. Besides standard output, we can also output the failed nodes to a file into the support bundle if there is any failed node.
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.
Thanks for the change.
Signed-off-by: Hang Yan <yhang@vmware.com>
26af354
to
3d1d079
Compare
|
@mengdie-song I have rebased this branch with master and please take another look if this PR is ready to merge. |
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.
Thanks for addressing my previous comments. I still have some minor ones, please take a look.
Signed-off-by: Hang Yan <yhang@vmware.com>
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
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.
Two minor comments
| } | ||
| return nil | ||
| return results |
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.
Could it return map[string]error so requestAll and downloadAll looks neater?
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.
Updated
Signed-off-by: Hang Yan <yhang@vmware.com>
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
|
/test-all |

Signed-off-by: Hang Yan yhang@vmware.com
A sample outpout:
