File tree Expand file tree Collapse file tree 5 files changed +3
-8
lines changed
Expand file tree Collapse file tree 5 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
55
66## [ Unreleased]
77
8+ ### Removed
9+ - ** Breaking** , Managed Load Balancer: remove deprecated ` DNSName ` and ` NetworkUUID ` fields.
10+
811## [ 7.0.0]
912
1013### Added
Original file line number Diff line number Diff line change @@ -252,9 +252,7 @@ type LoadBalancer struct {
252252 Name string `json:"name,omitempty"`
253253 Zone string `json:"zone,omitempty"`
254254 Plan string `json:"plan,omitempty"`
255- NetworkUUID string `json:"network_uuid,omitempty"` // deprecated
256255 Networks []LoadBalancerNetwork `json:"networks,omitempty"`
257- DNSName string `json:"dns_name,omitempty"` // deprecated
258256 Labels []Label `json:"labels,omitempty"`
259257 ConfiguredStatus LoadBalancerConfiguredStatus `json:"configured_status,omitempty"`
260258 OperationalState LoadBalancerOperationalState `json:"operational_state,omitempty"`
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ func TestMarshalLoadBalancer(t *testing.T) {
1313 [
1414 {
1515 "name": "example-service",
16- "network_uuid": "03631160-d57a-4926-ad48-a2f828229dcb",
1716 "operational_state": "running",
1817 "plan": "development",
1918 "configured_status": "started",
@@ -145,8 +144,6 @@ func TestMarshalLoadBalancer(t *testing.T) {
145144 Name : "example-service" ,
146145 Zone : "fi-hel1" ,
147146 Plan : "development" ,
148- NetworkUUID : "03631160-d57a-4926-ad48-a2f828229dcb" ,
149- DNSName : "lb-0aff6dac143c43009b33ee2756f6592d.upcloudlb.com" ,
150147 ConfiguredStatus : LoadBalancerConfiguredStatusStarted ,
151148 OperationalState : LoadBalancerOperationalStateRunning ,
152149 CreatedAt : timeParse ("2021-12-07T13:58:30.817272Z" ),
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ type CreateLoadBalancerRequest struct {
5353 Name string `json:"name,omitempty"`
5454 Plan string `json:"plan,omitempty"`
5555 Zone string `json:"zone,omitempty"`
56- NetworkUUID string `json:"network_uuid,omitempty"`
5756 Networks []LoadBalancerNetwork `json:"networks,omitempty"`
5857 ConfiguredStatus upcloud.LoadBalancerConfiguredStatus `json:"configured_status,omitempty"`
5958 Frontends []LoadBalancerFrontend `json:"frontends"`
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ func TestCreateLoadBalancerRequest(t *testing.T) {
5454 "name": "example-service",
5555 "plan": "development",
5656 "zone": "fi-hel1",
57- "network_uuid": "03631160-d57a-4926-ad48-a2f828229dcb",
5857 "configured_status": "started",
5958 "frontends": [
6059 {
@@ -1392,7 +1391,6 @@ func TestCreateLoadBalancerLabelsRequest(t *testing.T) {
13921391 "name": "example-service",
13931392 "plan": "development",
13941393 "zone": "fi-hel1",
1395- "network_uuid": "03631160-d57a-4926-ad48-a2f828229dcb",
13961394 "configured_status": "started",
13971395 "frontends": [],
13981396 "backends": [],
You can’t perform that action at this time.
0 commit comments