-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix: do not choose endpoints that doesn't match the network service #1516
Conversation
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
require.Empty(t, matchutils.MatchEndpoint(map[string]string{}, ns, nseD), "there are no matches for nse-D") | ||
require.Empty(t, matchutils.MatchEndpoint(map[string]string{"app": "nse-autoscaler"}, ns, nseD), "there are no matches for nse-D") |
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.
MatchEndpoint
from main branch fails here
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1516 +/- ##
=======================================
Coverage ? 70.17%
=======================================
Files ? 248
Lines ? 11207
Branches ? 0
=======================================
Hits ? 7864
Misses ? 2843
Partials ? 500 ☔ View full report in Codecov by Sentry. |
This looks good to me, the only question is whether to merge this for 1.11 or wait for 1.12. @denis-tingaikin do you have an opinion there? |
@edwarnicke I think we might merge this into v1.11.0 right after all planned staff is merged, and if we fail, we could quickly revert this and continue working on it in the next release. |
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1516 Commit: f2a585e Author: Denis Tingaikin Date: 2023-10-02 13:32:15 +0300 Message: - do not choose endpoints that doesn't match with the network service (#1516) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
do not choose endpoints that doesn't match with the network service
Issue link
How Has This Been Tested?
Types of changes