Skip to content
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

Some of helper functions are wrong and some of them are not using #143

Closed
denis-tingaikin opened this issue Jun 1, 2022 · 2 comments
Closed
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@denis-tingaikin
Copy link
Member

denis-tingaikin commented Jun 1, 2022

We need to recheck all helper functions in api and probabbly cover them by unut tests.

Some of helper functions are wrong.

  1. See at https://github.com/networkservicemesh/api/blob/main/pkg/api/networkservice/ipcontext_helpers.go#L192 //Note: this makes ipNet incorrect

  2. This is not using

    func (x *Connection) GetSourceNetworkServiceManagerName() string {
    and its wrong

  3. This is not using

    func (x *Connection) GetDestinationNetworkServiceManagerName() string {
    and its wrong

Solution

  1. Cleanup helpers
  2. (?) Add unit tests
@denis-tingaikin
Copy link
Member Author

@edwarnicke Can we schedule this for v1.5.0?

@denis-tingaikin denis-tingaikin added the bug Something isn't working label Jun 2, 2022
@denis-tingaikin denis-tingaikin added this to the v1.5.0 milestone Jun 3, 2022
@denis-tingaikin denis-tingaikin modified the milestones: v1.5.0, v1.7.0 Dec 4, 2022
@denis-tingaikin denis-tingaikin moved this to In Progress in Release v1.8.0 Dec 29, 2022
@glazychev-art glazychev-art moved this from In Progress to Under review in Release v1.8.0 Jan 10, 2023
@denis-tingaikin denis-tingaikin added the enhancement New feature or request label Apr 9, 2024
@NikitaSkrynnik
Copy link
Contributor

Seems like done: #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants