Skip to content

Getting a load balancer displays a incorrect label "Backends" where it should be written "LB Instances" #3237

@FredTreg

Description

@FredTreg

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Command attempted

scw lb lb get <lb_id>

Expected Behavior

The following should be displayed (notice "LB Instances")

...
IPs:
ID                                    IP ADDRESS    ORGANIZATION ID                      PROJECT ID                           LB ID
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  51.XXX.XX.XX  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx

LB Instances:
ID                                    STATUS  IP ADDRESS    CREATED AT  UPDATED AT    REGION  ZONE
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  ready   10.XXX.XXX.X  1 week ago  10 hours ago  fr-par  fr-par-2

Actual Behavior

The command displays "Backends" which is confusing as backends do exist at the LB level but are unrelated to the LB instances listed in the ouput.

Note: the issue does not occur for the json output.

...
IPs:
ID                                    IP ADDRESS    ORGANIZATION ID                      PROJECT ID                           LB ID
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  51.XXX.XX.XX  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx

Backends:
ID                                    STATUS  IP ADDRESS    CREATED AT  UPDATED AT    REGION  ZONE
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  ready   10.XXX.XXX.X  1 week ago  10 hours ago  fr-par  fr-par-2

More info

Version    2.16.1
BuildDate  2023-06-13T12:10:41Z
GoVersion  go1.20.4
GitBranch  HEAD
GitCommit  0bce8711
GoArch     amd64
GoOS       linux

Metadata

Metadata

Assignees

Labels

bugload-balancerLoad-balancer issues, bugs and feature requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions