Merge pull request #53120 from m1093782566/fake-ipv6

Automatic merge from submit-queue (batch tested with PRs 53227, 53120). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

remove ipv4 in pkg/util/ipvs

**What this PR does / why we need it**:

remove ipv4 in util/ipvs

**Which issue this PR fixes**:

xref: #51866


**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2017-10-05 13:07:38 -07:00
committed by GitHub
3 changed files with 105 additions and 75 deletions

View File

@@ -49,7 +49,7 @@ func NewFake() *FakeIPVS {
func toServiceKey(serv *utilipvs.VirtualServer) serviceKey {
return serviceKey{
IP: serv.Address.To4().String(),
IP: serv.Address.String(),
Port: serv.Port,
Protocol: serv.Protocol,
}