Skip to content

chore(serializers.prometheusremotewrite): Rename variable to avoid import shadowing#18512

Open
skartikey wants to merge 1 commit intoinfluxdata:masterfrom
skartikey:fix/prometheusremotewrite-import-shadowing
Open

chore(serializers.prometheusremotewrite): Rename variable to avoid import shadowing#18512
skartikey wants to merge 1 commit intoinfluxdata:masterfrom
skartikey:fix/prometheusremotewrite-import-shadowing

Conversation

@skartikey
Copy link
Contributor

Summary

Checklist

Related issues

resolves #

…port shadowing

Rename `metric` variable to `mt` in prometheusremotewrite_test.go to
avoid shadowing the `metric` package import. This prepares the test for
influxdata#18504, which replaces
`testutil.MustMetric` with `metric.New` and requires importing the
`metric` package.
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.

3 participants