-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Open
mmorel-35
wants to merge
1
commit into
open-telemetry:main
Choose a base branch
from
mmorel-35:revive/early-return
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+122
−139
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
requested review from
Aneurysm9,
crobert-1,
dmitryax and
mxiamxia
January 9, 2025 19:17
mmorel-35
changed the title
chore: enable early-return from revive
[chore]: enable early-return from revive
Jan 9, 2025
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 19:24
4e5e126
to
e0f1a49
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 19:40
e0f1a49
to
30d22ab
Compare
github-actions
bot
added
exporter/prometheus
receiver/prometheus
Prometheus receiver
receiver/solace
testbed
labels
Jan 9, 2025
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 19:47
30d22ab
to
5b8a767
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:08
5b8a767
to
88afdef
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:13
88afdef
to
4e4838d
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:20
4e4838d
to
da95aa7
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:28
da95aa7
to
f45517a
Compare
mmorel-35
force-pushed
the
revive/early-return
branch
2 times, most recently
from
January 9, 2025 20:36
defecb1
to
69daecf
Compare
mmorel-35
requested review from
a team,
djaglowski,
atoulme,
dashpole,
TylerHelmuth,
ChrsMark,
mx-psi and
songy23
as code owners
January 9, 2025 20:44
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:49
69daecf
to
36350ff
Compare
Signed-off-by: Matthieu MOREL <[email protected]>
mmorel-35
force-pushed
the
revive/early-return
branch
from
January 9, 2025 20:51
36350ff
to
77fdc66
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci-cd
CI, CD, testing, build issues
confmap/provider/aesprovider
exporter/datadog
Datadog components
exporter/dataset
exporter/honeycombmarker
exporter/prometheus
exporter/signalfx
exporter/sumologic
internal/aws
internal/sqlquery
pkg/stanza
receiver/awscontainerinsight
receiver/awss3
receiver/azureeventhub
receiver/cloudfoundry
receiver/kubeletstats
receiver/prometheus
Prometheus receiver
receiver/saphana
receiver/solace
receiver/splunkhec
receiver/sqlserver
receiver/windowsperfcounters
receiver/zookeeper
testbed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
early-return: In Go it is idiomatic to minimize nesting statements, a typical example is to avoid if-then-else constructions.