Skip to content

Commit 219f139

Browse files
authored
Merge pull request #5268 from thaJeztah/no_klog
integration/util: remove dependency on k8s.io/klog/v2
2 parents 4f7d1d7 + 61c7490 commit 219f139

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

integration/remote/util/util_unix.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import (
4444
"path/filepath"
4545

4646
"golang.org/x/sys/unix"
47-
"k8s.io/klog/v2"
4847
)
4948

5049
const (
@@ -115,9 +114,6 @@ func parseEndpointWithFallbackProtocol(endpoint string, fallbackProtocol string)
115114
if protocol, addr, err = parseEndpoint(endpoint); err != nil && protocol == "" {
116115
fallbackEndpoint := fallbackProtocol + "://" + endpoint
117116
protocol, addr, err = parseEndpoint(fallbackEndpoint)
118-
if err == nil {
119-
klog.Warningf("Using %q as endpoint is deprecated, please consider using full url format %q.", endpoint, fallbackEndpoint)
120-
}
121117
}
122118
return
123119
}

integration/util/util_unix.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import (
4444
"path/filepath"
4545

4646
"golang.org/x/sys/unix"
47-
"k8s.io/klog/v2"
4847
)
4948

5049
const (
@@ -115,9 +114,6 @@ func parseEndpointWithFallbackProtocol(endpoint string, fallbackProtocol string)
115114
if protocol, addr, err = parseEndpoint(endpoint); err != nil && protocol == "" {
116115
fallbackEndpoint := fallbackProtocol + "://" + endpoint
117116
protocol, addr, err = parseEndpoint(fallbackEndpoint)
118-
if err == nil {
119-
klog.Warningf("Using %q as endpoint is deprecated, please consider using full url format %q.", endpoint, fallbackEndpoint)
120-
}
121117
}
122118
return
123119
}

0 commit comments

Comments
 (0)