Port forward multiple ports#1250
Conversation
|
I think we still want to log the error? Maybe wrap this in a sync Group and return an error at the end if any of them errored (but still port forward?) |
Signed-off-by: David Gageot <david@gageot.net>
7ff8903 to
d0452a8
Compare
|
@r2d4 Good point! Should be ok now |
Codecov Report
@@ Coverage Diff @@
## master #1250 +/- ##
==========================================
+ Coverage 42.18% 42.24% +0.05%
==========================================
Files 96 96
Lines 4238 4242 +4
==========================================
+ Hits 1788 1792 +4
Misses 2276 2276
Partials 174 174
Continue to review full report at Codecov.
|
|
So if we port forward some but then fail and return an error, I’m not sure we’ll clean up the rest properly. I guess this was also an issue before when the first port forward in a pod succeeded and the second one failed. Let’s merge for now and keep an eye out for any forwards that don’t get cleaned up properly |
Fixes #1249
Signed-off-by: David Gageot david@gageot.net