`fly ips list -j` not returning json output

I need to see more ip addresses details, as I already do for machines or volumes with -j, though, while the documentation for that command tells me I can use -j or --json, it isn’t returning a json response, instead what I get is:

fly ips list --json
v4         public 	global	2023-03-27T18:07:31Z
v6        	f:f:f::f:a      public 	global	2023-03-27T18:05:52Z
private_v6	f:f:f::f:b      private	global	2023-03-27T12:59:33Z
private_v6	f:f:f::f:c      private	global	2h10m ago

What --help says:

fly ips list --help
Lists the IP addresses allocated to the application

  flyctl ips list [flags]

  -a, --app string      Application name
  -c, --config string   Path to application configuration file
  -h, --help            help for list

Global Flags:
  -t, --access-token string   Fly API Access Token
  -j, --json                  json output
      --verbose               verbose output

Oh, that shouldn’t be happening, let me dig into this and work in a quick fix. Meanwhile, can you open an issue here on github so we can track progress on this?

Github issue opened: `fly ips list -j` not returning json output · Issue #1967 · superfly/flyctl · GitHub

Thanks, looks like my coworker picked this one up, and a fix has been merged!

Thanks, checked with yesterday’s update and I now see it with json output.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.