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

Add legacy_mode option to init_config #15907

Merged
merged 10 commits into from
Sep 27, 2023

Conversation

clarkb7
Copy link
Contributor

@clarkb7 clarkb7 commented Sep 25, 2023

What does this PR do?

Add the legacy_mode option to the shared init_config configuration section.

Enable legacy_mode: false in init_config in the config example by default.

Motivation

Set the option once in init_config rather than setting the option in every single instance.

https://datadoghq.atlassian.net/browse/WINA-265

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

Copy link
Contributor

@julien-lebot julien-lebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to duplicate some work being done here: #15821
Maybe the two PRs can be merged ?
Also see @ofek's comment in the other PR regarding the default value of the legacy_mode key.

julien-lebot
julien-lebot previously approved these changes Sep 26, 2023
@clarkb7 clarkb7 force-pushed the branden.clark/event-log-legacy-mode-init-config branch from 9009665 to 59786df Compare September 26, 2023 14:35
Copy link
Contributor

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is now at the shared config level, can you please use the actual proper default for the instance option since it is now commented out?

@clarkb7 clarkb7 force-pushed the branden.clark/event-log-legacy-mode-init-config branch from 807ad61 to 89bcaec Compare September 26, 2023 15:07
@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Merging #15907 (eb8e9b2) into master (4d9257a) will increase coverage by 0.00%.
Report is 7 commits behind head on master.
The diff coverage is 100.00%.

Flag Coverage Δ
win32_event_log 86.98% <100.00%> (+0.85%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@github-actions
Copy link

github-actions bot commented Sep 26, 2023

Test Results

  2 files    2 suites   1m 1s ⏱️
51 tests 51 ✔️ 0 💤 0
71 runs  71 ✔️ 0 💤 0

Results for commit eb8e9b2.

♻️ This comment has been updated with latest results.

drichards-87
drichards-87 previously approved these changes Sep 26, 2023
Copy link
Contributor

@drichards-87 drichards-87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left you a suggestion from Docs and approved the PR.

win32_event_log/README.md Outdated Show resolved Hide resolved
Co-authored-by: DeForest Richards <[email protected]>
@clarkb7 clarkb7 merged commit 9ad0a36 into master Sep 27, 2023
41 checks passed
@clarkb7 clarkb7 deleted the branden.clark/event-log-legacy-mode-init-config branch September 27, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants