Fix TestGetNodeAddresses function error.

Signed-off-by: JunYang <yang.jun22@zte.com.cn>
This commit is contained in:
JunYang 2021-03-10 23:33:57 +08:00
parent 35061acc28
commit 923306b1ba

View File

@ -403,7 +403,7 @@ type InterfaceAddrsPair struct {
addrs []net.Addr
}
func TestGetNodeAddressses(t *testing.T) {
func TestGetNodeAddresses(t *testing.T) {
testCases := []struct {
cidrs []string
nw *fake.FakeNetwork