Skip to content

Commit

Permalink
fix commented out test
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango committed Feb 19, 2021
1 parent 8170eed commit 764ac42
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 438 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ TENSORFLOW_C_VERSION := $(eval TENSORFLOW_C_VERSION := $(shell cat versions/TENS

OPERATOR_SDK_VERSION := $(eval OPERATOR_SDK_VERSION := $(shell cat versions/OPERATOR_SDK_VERSION))$(OPERATOR_SDK_VERSION)

KIND_VERSION ?= v0.9.0
HELM_VERSION ?= v3.5.0
KIND_VERSION ?= v0.10.0
HELM_VERSION ?= v3.5.2
HELM_DOCS_VERSION ?= 1.5.0
VALDCLI_VERSION ?= v0.0.66
TELEPRESENCE_VERSION ?= 0.108
VALDCLI_VERSION ?= v1.0.2
TELEPRESENCE_VERSION ?= 0.109
KUBELINTER_VERSION ?= 0.1.6

SWAP_DEPLOYMENT_TYPE ?= deployment
Expand Down
6 changes: 3 additions & 3 deletions internal/net/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ func Parse(addr string) (host string, port uint16, isLocal, isIPv4, isIPv6 bool,
// return host and port and flags
return host, port,
// check is local ip or not
strings.Contains(host, localHost) ||
strings.Contains(host, localIPv4) ||
strings.Contains(host, localIPv6),
host == localHost ||
host == localIPv4 ||
host == localIPv6,
// check is IPv4 or not
isIP && ic < 2,
// check is IPv6 or not
Expand Down
Loading

0 comments on commit 764ac42

Please sign in to comment.