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

pinhole: fix behavior in case of creation error #762

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

glazychev-art
Copy link
Contributor

@glazychev-art glazychev-art commented Oct 23, 2023

Issue: networkservicemesh/cmd-forwarder-vpp#927

Previously, we used ipPortMap.LoadOrStore() before creation. But if the create function returned an error, then the behavior is incorrect, since we already saved the value in the map.

@denis-tingaikin denis-tingaikin merged commit af5c232 into networkservicemesh:main Oct 24, 2023
13 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-nsc-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-simple-docker that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vl3-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-firewall-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-forwarder-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-lb-vl3-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-icmp-responder-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-simple-vl3-docker that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vlan-vpp that referenced this pull request Oct 24, 2023
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#762

Commit: af5c232
Author: Artem Glazychev
Date: 2023-10-24 17:10:56 +0700
Message:
  - pinhole: fix behavior in case of creation error (#762)
Signed-off-by: NSMBot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants