Skip to content

xray run -dump ignores stdin #5534

@istudyatuni

Description

@istudyatuni

Integrity requirements

  • I have read all the comments in the issue template and ensured that this issue meet the requirements.
  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

When I try to pass config via stdin to xray run -dump or xray run -dump -format json, it always print {}

Reproduction Method

echo '{"api":{}}'|xray run -dump
# {}
echo '{"api":{}}'|xray run -dump -format json
# {}

echo '{"api":{}}' > test.json
xray run -dump -config test.json
# {
#    "api": {}
# }

Client config

Server config

Client log

Server log

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