Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
We need to keep them in the API so that we can round-trip between versions.
This commit is contained in:
@@ -144,7 +144,7 @@ func TestGenerateService(t *testing.T) {
|
||||
TargetPort: util.NewIntOrStringFromString("foobar"),
|
||||
},
|
||||
},
|
||||
PublicIPs: []string{"1.2.3.4"},
|
||||
DeprecatedPublicIPs: []string{"1.2.3.4"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -175,8 +175,8 @@ func TestGenerateService(t *testing.T) {
|
||||
TargetPort: util.NewIntOrStringFromString("foobar"),
|
||||
},
|
||||
},
|
||||
PublicIPs: []string{"1.2.3.4"},
|
||||
Type: api.ServiceTypeLoadBalancer,
|
||||
Type: api.ServiceTypeLoadBalancer,
|
||||
DeprecatedPublicIPs: []string{"1.2.3.4"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user