-
Notifications
You must be signed in to change notification settings - Fork 277
bug(pkg/*) : Fixing access to backend services #1944
bug(pkg/*) : Fixing access to backend services #1944
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1944 +/- ##
==========================================
- Coverage 58.51% 58.46% -0.05%
==========================================
Files 131 131
Lines 5272 5285 +13
==========================================
+ Hits 3085 3090 +5
- Misses 2184 2192 +8
Partials 3 3
Continue to review full report at Codecov.
|
service := strings.Split(host, ".")[0] | ||
|
||
// For services that are not namespaced the service name contains the port as well | ||
// Ex. service:port | ||
return strings.Split(service, ":")[0] |
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.
Good find.
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.
And e2e test for this would be nice to have. Would you mind filing an issue for this.
99ca8a7
to
4de828c
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.
Thanks for the fix. We should note somewhere (either code or commit message) that this is a short term fix and that issue will rework this.
I will include it in the commit message |
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.
have the test for e2e for this changes, passing just fine. lgtm
Description:
Fixes : #1798 and #1316
Affected area:
Please answer the following questions with yes/no.
no