-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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] address linting issues in generated tests #30452
Merged
codeboten
merged 1 commit into
open-telemetry:main
from
codeboten:codeboten/address-linting-issues
Jan 11, 2024
Merged
[chore] address linting issues in generated tests #30452
codeboten
merged 1 commit into
open-telemetry:main
from
codeboten:codeboten/address-linting-issues
Jan 11, 2024
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
This addresses the following lint failure: ``` var-naming: don't use underscores in Go names; func Test_ComponentLifecycle should be TestComponentLifecycle (revive) func Test_ComponentLifecycle(t *testing.T) { ``` Signed-off-by: Alex Boten <aboten@lightstep.com>
codeboten
requested review from
djaglowski,
MovieStoreGuy,
andrzej-stencel,
atoulme,
jmacd,
dmitryax,
fatsheep9146,
jpkrohling,
Aneurysm9,
dashpole,
TylerHelmuth,
yurishkuro,
mx-psi,
bogdandrutu,
evan-bradley and
tigrannajaryan
as code owners
January 11, 2024 21:28
github-actions
bot
added
cmd/mdatagen
mdatagen command
exporter/alertmanager
exporter/awss3
exporter/signalfx
exporter/splunkhec
extension/bearertokenauth
extension/headerssetter
extension/healthcheck
Health Check Extension
extension/opamp
extension/pprof
extension/remotetap
labels
Jan 11, 2024
github-actions
bot
added
receiver/pulsar
receiver/purefa
receiver/purefb
receiver/rabbitmq
receiver/redis
Redis related issues
receiver/riak
receiver/sapm
receiver/signalfx
receiver/simpleprometheus
receiver/skywalking
receiver/snmp
receiver/snowflake
Snowflake receiver
receiver/splunkenterprise
receiver/splunkhec
receiver/sqlquery
SQL query receiver
receiver/sshcheck
receiver/statsd
statsd related issues
receiver/syslog
receiver/tcplog
receiver/udplog
receiver/vcenter
exporter/alibabacloudlogservice
Alibaba components
labels
Jan 11, 2024
Is there a way to enable this linter for generated files? |
dmitryax
approved these changes
Jan 11, 2024
I'm looking at this, not sure yet though |
cparkins
pushed a commit
to AmadeusITGroup/opentelemetry-collector-contrib
that referenced
this pull request
Feb 1, 2024
This addresses the following lint failure: ``` var-naming: don't use underscores in Go names; func Test_ComponentLifecycle should be TestComponentLifecycle (revive) func Test_ComponentLifecycle(t *testing.T) { ``` Signed-off-by: Alex Boten <aboten@lightstep.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmd/mdatagen
mdatagen command
exporter/alertmanager
exporter/alibabacloudlogservice
Alibaba components
exporter/awss3
exporter/signalfx
exporter/splunkhec
extension/bearertokenauth
extension/headerssetter
extension/healthcheck
Health Check Extension
extension/opamp
extension/pprof
extension/remotetap
extension/sigv4auth
processor/attributes
Attributes processor
processor/cumulativetodelta
Cumulative To Delta processor
processor/datadog
processor/deltatorate
Delta To Rate processor
processor/filter
Filter processor
processor/groupbyattrs
Group By Attributes processor
processor/groupbytrace
Group By Trace processor
processor/k8sattributes
k8s Attributes processor
processor/logstransform
Logs Transform processor
processor/metricsgeneration
Metrics Generation processor
processor/metricstransform
Metrics Transform processor
processor/probabilisticsampler
Probabilistic Sampler processor
processor/redaction
Redaction processor
processor/remotetap
processor/resource
Resource processor
processor/resourcedetection
Resource detection processor
processor/routing
Routing processor
processor/schema
Schema processor
processor/servicegraph
Service graph processor
processor/span
processor/spanmetrics
Span Metrics processor
processor/sumologic
processor/tailsampling
Tail sampling processor
processor/transform
Transform processor
receiver/aerospike
receiver/apache
receiver/apachespark
receiver/awscloudwatch
receiver/awscloudwatchmetrics
receiver/awscontainerinsight
receiver/awsfirehose
receiver/azureblob
receiver/azureeventhub
receiver/azuremonitor
receiver/bigip
receiver/carbon
receiver/cloudflare
receiver/cloudfoundry
receiver/collectd
receiver/couchdb
receiver/expvar
receiver/filestats
receiver/flinkmetrics
receiver/fluentforward
receiver/googlecloudpubsub
receiver/googlecloudspanner
receiver/haproxy
receiver/hostmetrics
receiver/httpcheck
HTTP Check receiver
receiver/influxdb
receiver/jaeger
receiver/k8sevents
receiver/kafka
receiver/kafkametrics
receiver/mysql
receiver/nginx
receiver/nsxt
NSXT Receiver
receiver/opencensus
receiver/oracledb
receiver/otlpjsonfile
receiver/podman
receiver/postgresql
receiver/prometheus
Prometheus receiver
receiver/pulsar
receiver/purefa
receiver/purefb
receiver/rabbitmq
receiver/redis
Redis related issues
receiver/riak
receiver/sapm
receiver/signalfx
receiver/simpleprometheus
receiver/skywalking
receiver/snmp
receiver/snowflake
Snowflake receiver
receiver/splunkenterprise
receiver/splunkhec
receiver/sqlquery
SQL query receiver
receiver/sshcheck
receiver/statsd
statsd related issues
receiver/syslog
receiver/tcplog
receiver/udplog
receiver/vcenter
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.
This addresses the following lint failure: