Skip to content

Commit b8310cc

Browse files
committed
Add missing data update for new values
* Add the loading of the new values on create
1 parent 5c99b04 commit b8310cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

digitalocean/LoadBalancer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,17 @@ def create(self, *args, **kwargs):
267267
self.id = data['load_balancer']['id']
268268
self.ip = data['load_balancer']['ip']
269269
self.algorithm = data['load_balancer']['algorithm']
270+
self.size = data['load_balancer']['size']
270271
self.health_check = HealthCheck(
271272
**data['load_balancer']['health_check'])
272273
self.sticky_sessions = StickySessions(
273274
**data['load_balancer']['sticky_sessions'])
274275
self.droplet_ids = data['load_balancer']['droplet_ids']
275276
self.status = data['load_balancer']['status']
276277
self.created_at = data['load_balancer']['created_at']
278+
self.redirect_http_to_https = data['load_balancer']['redirect_http_to_https']
279+
self.enable_proxy_protocol = data['load_balancer']['enable_proxy_protocol']
280+
self.enable_backend_keepalive = data['load_balancer']['enable_backend_keepalive']
277281
self.vpc_uuid = data['load_balancer']['vpc_uuid']
278282

279283
return self

0 commit comments

Comments
 (0)