Update from update/networkservicemesh/sdk #80
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update go.mod and go.sum to latest version from networkservicemesh/sdk@main
PR link: networkservicemesh/sdk#1369
Commit: fac60b4
Author: Toby Cabot
Date: 2022-10-31 04:36:15 -0400
Message:
FakeDNSResolver used to track only ports, addresses were always
127.0.0.1. I'd like to write some unit tests for IPV6 so I need
FakeDNSResolver to store and retrieve any address.
As part of this work now fakeDNSResolver is better hidden, and no
longer exported: clients/tests use NewFakeResolver() as a
constructor, which returns a Resolver, and call AddSRVEntry() to add
entries. This allows all client/test code to use Resolver exclusively.
common_test.go appeared to be dead code so I deleted it. It had
another implementation of a fake Resolver but no tests.
Signed-off-by: Toby Cabot toby@acnodal.io
V6 addresses in URLs need to be wrapped in square brackets.
Signed-off-by: Toby Cabot toby@acnodal.io
"Incorrect conversion of an integer with architecture-dependent bit
size from strconv.Atoi to a lower bit size type uint16 without an
upper bound check."
Signed-off-by: Toby Cabot toby@acnodal.io