Skip to content

upctl server list --show-ip-addresses -o json does not show ip addresses #283

@nicovs

Description

@nicovs

Environment (required):

  • OS: MacOS Sonoma / Ubuntu / ArchLinux / ...
  • Version 3.2.2

Describe the bug
Querying a server list to include the IP addresses does not work when requesting the output in JSON/YAML format.
When requesting it in human readable, the IP's are shown.
This is tested on MacOS (brew install upcloud-cli), Arch Linux (yay -d upcloud-cli), Ubuntu (download .deb package)

To Reproduce
Steps to reproduce the behavior:

  1. Working: upctl server list --show-ip-addresses=public
  2. Not working:
  • upctl server list --show-ip-addresses=public -o json
  • upctl server list --show-ip-addresses=public -o yaml

Expected behavior
JSON and YAML output format should show the IP addresses

Observed behavior
It should show IP addreses ;)

Screenshots
Too much private info to share ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions