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

[chore]: enable early-return from revive #37119

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

mmorel-35
Copy link
Contributor

Description

early-return: In Go it is idiomatic to minimize nesting statements, a typical example is to avoid if-then-else constructions.

@mmorel-35 mmorel-35 changed the title chore: enable early-return from revive [chore]: enable early-return from revive Jan 9, 2025
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 4e5e126 to e0f1a49 Compare January 9, 2025 19:24
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from e0f1a49 to 30d22ab Compare January 9, 2025 19:40
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 30d22ab to 5b8a767 Compare January 9, 2025 19:47
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 5b8a767 to 88afdef Compare January 9, 2025 20:08
@github-actions github-actions bot added the exporter/datadog Datadog components label Jan 9, 2025
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 88afdef to 4e4838d Compare January 9, 2025 20:13
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 4e4838d to da95aa7 Compare January 9, 2025 20:20
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@atoulme
Copy link
Contributor

atoulme commented Feb 14, 2025

Just need to fix a conflict, looks ok otherwise.

@mmorel-35 mmorel-35 requested a review from dehaansa as a code owner February 17, 2025 06:24
@djaglowski djaglowski merged commit 6d54db2 into open-telemetry:main Feb 17, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 17, 2025
@mmorel-35 mmorel-35 deleted the revive/early-return branch February 17, 2025 14:57
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.

5 participants