Skip to content

Commit

Permalink
doc: fix lxc network load-balancer backend add command syntax (#14643)
Browse files Browse the repository at this point in the history
This PR removes an unnecessary <listen_ports> option in the syntax for
`lxc network load-balancer backend add`. This is correct in [the man
page](https://documentation.ubuntu.com/lxd/en/latest/reference/manpages/lxc/network/load-balancer/backend/add/)
but incorrect in [the how-to guide this PR
fixes](https://documentation.ubuntu.com/lxd/en/latest/howto/network_load_balancers/#configure-backends).
There is no `listen_ports` backend property. `listen_ports` is a port
property that is used in `lxc network load-balancer port add`.
  • Loading branch information
tomponline authored Dec 12, 2024
2 parents 1cf1cdb + bf56b73 commit aee54e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/howto/network_load_balancers.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The backend target address must be within the same subnet as the network that th
Use the following command to add a backend specification:

```bash
lxc network load-balancer backend add <network_name> <listen_address> <backend_name> <listen_ports> <target_address> [<target_ports>]
lxc network load-balancer backend add <network_name> <listen_address> <backend_name> <target_address> [<target_ports>]
```

The target ports are optional.
Expand Down

0 comments on commit aee54e3

Please sign in to comment.