Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: lxc network forward completion improvements #14713

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kadinsayani
Copy link
Contributor

Closes #14697.

Summary of changes:

  • Fixes cmpNetworkLoadBalancers. cmpNetworkLoadBalancers should return load balancer addresses, not
    network forward addresses.
  • Adds cmpNetworkForwardPortTargetAddresses to provide target address completions for lxc network forward port add.
  • Adds network completions to lxc network forward create.

`cmpNetworkLoadBalancers` should return load balancer addresses, not
network forward addresses.

Signed-off-by: Kadin Sayani <[email protected]>
@kadinsayani kadinsayani marked this pull request as ready for review January 6, 2025 15:26
lxc/completion.go Outdated Show resolved Hide resolved
@kadinsayani kadinsayani force-pushed the 14697-load-balancer-port-address-completion branch from dd2d915 to 41fcb6e Compare January 6, 2025 19:08
…sses

Closes canonical#14697.

This commit adds `cmpNetworkForwardPortTargetAddresses` to provide
target address completions for `lxc network forward port add`.

Signed-off-by: Kadin Sayani <[email protected]>
@kadinsayani kadinsayani force-pushed the 14697-load-balancer-port-address-completion branch from 41fcb6e to 63ae032 Compare January 6, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto complete load balancer port target address not working
2 participants