Skip to content

Exec command doesn't accept --fail-non-empty argument since 1.7.0 #7850

@jeremy-albinet

Description

@jeremy-albinet

Short description

In the PR #7797 (this file/line exactly https://github.com/open-policy-agent/opa/pull/7797/files#diff-ce92eefe0908ac93cdc54bd33b7d01c347c159ae09a9324bd0479acdbc38c442L86), the argument --fail-non-empty has been removed.

Was it on purpose, or is it an error to remove this flag in v1.7.0?

Steps To Reproduce

# Opa 1.7.0 or supperior
opa exec --fail-non-empty --decision terraform/deny --bundle bundle.tar.gz tfplan.json

Error:

Error: unknown flag: --fail-non-empty

Expected behavior

If it's a mistake, let's add it again.
Otherwise, it would be nice to have a note/breaking change information in the changelog (and maybe a major version increment).

Additional context

Seems related to the report #7840

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions