mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Use networking to hold network related pkgs
Change names of unclear methods Use net as pkg name for short
This commit is contained in:
@@ -29,7 +29,7 @@ import (
|
||||
"reflect"
|
||||
"runtime"
|
||||
|
||||
"k8s.io/kubernetes/pkg/util"
|
||||
"k8s.io/kubernetes/pkg/util/net"
|
||||
)
|
||||
|
||||
// chaosrt provides the ability to perform simulations of HTTP client failures
|
||||
@@ -88,7 +88,7 @@ func (rt *chaosrt) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||
return rt.rt.RoundTrip(req)
|
||||
}
|
||||
|
||||
var _ = util.RoundTripperWrapper(&chaosrt{})
|
||||
var _ = net.RoundTripperWrapper(&chaosrt{})
|
||||
|
||||
func (rt *chaosrt) WrappedRoundTripper() http.RoundTripper {
|
||||
return rt.rt
|
||||
|
||||
Reference in New Issue
Block a user