Skip to content

[BUG] govc vcsa.net.proxy.info doesnt give output in json format #2664

@pradeep288

Description

@pradeep288

Describe the bug

$ govc vcsa.net.proxy.info -json=true
{}

But the same command works when we -json=false

> ./govc vcsa.net.proxy.info -json=false

HTTP proxy:          Disabled
HTTPS proxy:         Disabled
FTP proxy:           Disabled
No Proxy addresses:  localhost, 127.0.0.1

To Reproduce
Steps to reproduce the behavior:

  1. Install VC
  2. Install govc
  3. Run govc vcsa.net.proxy.info -json=true

Expected behavior
govc vcsa.net.proxy.info -json=true should provide output in json format

Affected version
Latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions