Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure params are consumed before checking feature flag #514

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Feb 9, 2024

Description

Consumes params by assigning them before feature flag check, to prevent confusing error messages.

Issues Resolved

Fixes #513

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (33ff2f3) 72.01% compared to head (377d360) 72.10%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #514      +/-   ##
============================================
+ Coverage     72.01%   72.10%   +0.09%     
  Complexity      624      624              
============================================
  Files            78       78              
  Lines          3162     3162              
  Branches        239      239              
============================================
+ Hits           2277     2280       +3     
+ Misses          780      777       -3     
  Partials        105      105              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@owaiskazi19 owaiskazi19 merged commit 1727434 into opensearch-project:main Feb 9, 2024
41 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 9, 2024
Signed-off-by: Daniel Widdis <[email protected]>
(cherry picked from commit 1727434)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 9, 2024
Signed-off-by: Daniel Widdis <[email protected]>
(cherry picked from commit 1727434)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Feb 9, 2024
#516)

Ensure params are consumed before checking feature flag (#514)


(cherry picked from commit 1727434)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshpalis pushed a commit that referenced this pull request Feb 10, 2024
…ag (#517)

Ensure params are consumed before checking feature flag (#514)


(cherry picked from commit 1727434)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis dbwiddis deleted the consume-params branch April 15, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Misleading error message parsing named params with feature flag disabled
3 participants