Skip to content

Fix #680: Fail if placeholder resolves to binary data, that would break yaml#681

Open
olivergondza wants to merge 1 commit intoargoproj-labs:mainfrom
olivergondza:fail-on-binary
Open

Fix #680: Fail if placeholder resolves to binary data, that would break yaml#681
olivergondza wants to merge 1 commit intoargoproj-labs:mainfrom
olivergondza:fail-on-binary

Conversation

@olivergondza
Copy link

@olivergondza olivergondza commented Nov 24, 2024

Description

Fail fast if placeholder is to produce binary data. This provides better error message to diagnose misconfiguration.

Fixes: #680

Checklist

Please make sure that your PR fulfills the following requirements:

  • Reviewed the guidelines for contributing to this repository
  • The commit message follows the Conventional Commits Guidelines.
  • Tests for the changes have been updated
  • [N/A] Are you adding dependencies? If so, please run go mod tidy -compat=1.22.7 to ensure only the minimum is pulled in.
  • [N/A] Docs have been added / updated
  • Optional. My organization is added to USERS.md.

Type of Change

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

Other information

Signed-off-by: Oliver Gondža <ogondza@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant