mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix lint (#26130)
This commit is contained in:
parent
9164a35240
commit
74b2c2acdc
@ -257,7 +257,6 @@ func (e *ApplicationInsightsDatasource) getPluginRoute(plugin *plugins.DataSourc
|
|||||||
// formatApplicationInsightsLegendKey builds the legend key or timeseries name
|
// formatApplicationInsightsLegendKey builds the legend key or timeseries name
|
||||||
// Alias patterns like {{metric}} are replaced with the appropriate data values.
|
// Alias patterns like {{metric}} are replaced with the appropriate data values.
|
||||||
func formatApplicationInsightsLegendKey(alias string, metricName string, labels data.Labels) string {
|
func formatApplicationInsightsLegendKey(alias string, metricName string, labels data.Labels) string {
|
||||||
|
|
||||||
// Could be a collision problem if there were two keys that varied only in case, but I don't think that would happen in azure.
|
// Could be a collision problem if there were two keys that varied only in case, but I don't think that would happen in azure.
|
||||||
lowerLabels := data.Labels{}
|
lowerLabels := data.Labels{}
|
||||||
for k, v := range labels {
|
for k, v := range labels {
|
||||||
|
Loading…
Reference in New Issue
Block a user