-
Notifications
You must be signed in to change notification settings - Fork 187
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
chore: support kbagent multi ports allocate hostnetwork port #8565
Conversation
if err != nil { | ||
return nil, err | ||
return nil, fmt.Errorf("failed to allocate port for container %s, port %s: %v", | ||
container.Name, port.Name, err) |
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.
the order of params is incorrect.
return nil, err | ||
if err := pm.UsePort(portKey, port.ContainerPort); err != nil { | ||
return nil, fmt.Errorf("failed to use port for container %s, port %s: %v", | ||
container.Name, port.Name, err) |
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.
ditto
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8565 +/- ##
==========================================
+ Coverage 60.33% 60.38% +0.05%
==========================================
Files 376 376
Lines 45858 45858
==========================================
+ Hits 27667 27693 +26
+ Misses 15588 15578 -10
+ Partials 2603 2587 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/cherry-pick release-1.0-beta |
🤖 says: cherry pick action finished successfully 🎉! |
(cherry picked from commit c206d0e)
No description provided.