mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
fix API change in apiserver-network-proxy
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
eea0fea657
commit
ce6292f6c6
@ -199,7 +199,7 @@ func (u *udsGRPCConnector) connect() (proxier, error) {
|
|||||||
return c, err
|
return c, err
|
||||||
})
|
})
|
||||||
|
|
||||||
tunnel, err := client.CreateGrpcTunnel(udsName, dialOption, grpc.WithInsecure())
|
tunnel, err := client.CreateSingleUseGrpcTunnel(udsName, dialOption, grpc.WithInsecure())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user