Skip to content

Commit

Permalink
[plugins/digitalocean] Fill in backends when collecting load balancer…
Browse files Browse the repository at this point in the history
…s. (#1614)
  • Loading branch information
meln1k committed May 30, 2023
1 parent 592a8f7 commit b709ed1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
"cSpell.words": [
"popleft"
]
}
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ def get_nr_nodes(lb: Json) -> int:
"public_ip_address": "ip",
"nr_nodes": get_nr_nodes,
"loadbalancer_status": "status",
"backends": lambda lb: [droplet_id(id) for id in (lb.get("droplet_ids", []) or [])],
"redirect_http_to_https": "redirect_http_to_https",
"enable_proxy_protocol": "enable_proxy_protocol",
"enable_backend_keepalive": "enable_backend_keepalive",
Expand Down

0 comments on commit b709ed1

Please sign in to comment.