Skip to content

Commit

Permalink
Merge pull request #5268 from thaJeztah/no_klog
Browse files Browse the repository at this point in the history
integration/util: remove dependency on k8s.io/klog/v2
  • Loading branch information
estesp committed Mar 25, 2021
2 parents 4f7d1d7 + 61c7490 commit 219f139
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions integration/remote/util/util_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
"path/filepath"

"golang.org/x/sys/unix"
"k8s.io/klog/v2"
)

const (
Expand Down Expand Up @@ -115,9 +114,6 @@ func parseEndpointWithFallbackProtocol(endpoint string, fallbackProtocol string)
if protocol, addr, err = parseEndpoint(endpoint); err != nil && protocol == "" {
fallbackEndpoint := fallbackProtocol + "://" + endpoint
protocol, addr, err = parseEndpoint(fallbackEndpoint)
if err == nil {
klog.Warningf("Using %q as endpoint is deprecated, please consider using full url format %q.", endpoint, fallbackEndpoint)
}
}
return
}
Expand Down
4 changes: 0 additions & 4 deletions integration/util/util_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
"path/filepath"

"golang.org/x/sys/unix"
"k8s.io/klog/v2"
)

const (
Expand Down Expand Up @@ -115,9 +114,6 @@ func parseEndpointWithFallbackProtocol(endpoint string, fallbackProtocol string)
if protocol, addr, err = parseEndpoint(endpoint); err != nil && protocol == "" {
fallbackEndpoint := fallbackProtocol + "://" + endpoint
protocol, addr, err = parseEndpoint(fallbackEndpoint)
if err == nil {
klog.Warningf("Using %q as endpoint is deprecated, please consider using full url format %q.", endpoint, fallbackEndpoint)
}
}
return
}
Expand Down

0 comments on commit 219f139

Please sign in to comment.