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

Fix vl3 dns #1429

Merged
merged 1 commit into from Feb 27, 2023
Merged

Conversation

wazsone
Copy link
Contributor

@wazsone wazsone commented Feb 22, 2023

Description

Issue link

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionality
  • Documentation
  • Refactoring
  • CI

@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@bcd1eb0). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1429   +/-   ##
=======================================
  Coverage        ?   70.13%           
=======================================
  Files           ?      242           
  Lines           ?    10956           
  Branches        ?        0           
=======================================
  Hits            ?     7684           
  Misses          ?     2774           
  Partials        ?      498           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@glazychev-art
Copy link
Contributor

@wazsone wazsone force-pushed the bug/fix-vl3-dns branch 3 times, most recently from bf90542 to d8ad729 Compare February 22, 2023 17:55
Comment on lines 135 to 142
ips := getSrcIPs(resp)
if len(ips) > 0 {
for _, recordName := range recordNames {
n.dnsServerRecords.Store(recordName, ips)
}

metadata.Map(ctx, false).Store(clientDNSNameKey{}, recordNames)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to paste this block after line 132 (if err == nil {)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glazychev-art thx, done

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
@denis-tingaikin denis-tingaikin merged commit 9a7d5a4 into networkservicemesh:main Feb 27, 2023
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-map-ip-k8s that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-cluster-info-k8s that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-ipam-vl3 that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-admission-webhook-k8s that referenced this pull request Feb 27, 2023
…k@main

PR link: networkservicemesh/sdk#1429

Commit: 9a7d5a4
Author: Ruslan Bayandinov
Date: 2023-02-27 13:50:49 +0600
Message:
  - fix vl3 dns (#1429)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants