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

Handle duplicate config yml keys for additional configs #102

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Feb 7, 2024

Description

Handle duplicate config yml keys for additional configs. yq is a great tool for yaml management in bash. Using the same to merge 2 values which will override the duplicate values from the user provided json into the yml.

Issues Resolved

closes #101

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.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (066f589) 81.87% compared to head (20fbaaf) 81.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #102   +/-   ##
=======================================
  Coverage   81.87%   81.87%           
=======================================
  Files           6        6           
  Lines         447      447           
  Branches      167      167           
=======================================
  Hits          366      366           
  Misses         81       81           

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

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya merged commit bfa15e4 into opensearch-project:main Feb 7, 2024
5 checks passed
@gaiksaya gaiksaya deleted the fix-yaml branch February 7, 2024 19:12
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.

[FEATURE] Parse additionalConfig and additionalOsdConfig for existing key/values
2 participants