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

Cleanup path replacement #2852

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Cleanup path replacement #2852

merged 2 commits into from
Dec 20, 2024

Conversation

therve
Copy link
Contributor

@therve therve commented Dec 20, 2024

What does this PR do?

Use strings.ReplaceAll instead of strings.Replace, and build the placehold string properly.

Additional Notes

Review checklist

Please check relevant items below:

  • This PR includes all newly recorded cassettes for any modified tests.

  • This PR does not rely on API client schema changes.

    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

    • Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

Use strings.ReplaceAll instead of strings.Replace, and build the
placehold string properly.
@therve therve requested a review from a team as a code owner December 20, 2024 13:10
@therve therve added the changelog/no-changelog Changes don't appear in changelog label Dec 20, 2024
@skarimo skarimo merged commit 2a26be6 into master Dec 20, 2024
12 checks passed
@skarimo skarimo deleted the therve/clean-path-replace branch December 20, 2024 15:06
github-actions bot pushed a commit that referenced this pull request Dec 20, 2024
* Cleanup path replacement

Use strings.ReplaceAll instead of strings.Replace, and build the
placehold string properly.

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <[email protected]> 2a26be6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog Changes don't appear in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants