Skip to content

--dry-run returns nothing #89

@l-trotta

Description

@l-trotta

Except for cat requests?

❄ laura@laura-thinkpad-p1-gen5:~ ❄  elastic es cat help --json --dry-run
{"success":true}

every other command I've tried returns nothing, unless I put --json after:

❄ laura@laura-thinkpad-p1-gen5:~ ❄  elastic es index --index my-index --id abc123 --use-context local --document {"data":"a"} --dry-run
❄ laura@laura-thinkpad-p1-gen5:~ ❄  elastic es index --index my-index --id abc123 --use-context local --document {"data":"a"} --dry-run --json
{"success":true}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions