Skip to content

Commit 1c6734d

Browse files
committed
fix lint
1 parent 29ffbae commit 1c6734d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/services/cockpit/cockpit.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interfac
174174
if err != nil {
175175
return diag.FromErr(err)
176176
}
177-
alertManagerUrl := ""
177+
alertManagerURL := ""
178178
if alertManager.AlertManagerURL != nil {
179-
alertManagerUrl = *alertManager.AlertManagerURL
179+
alertManagerURL = *alertManager.AlertManagerURL
180180
}
181181

182-
endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerUrl)
182+
endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerURL)
183183

184184
_ = d.Set("endpoints", endpoints)
185185
_ = d.Set("push_url", createCockpitPushURL(endpoints))

0 commit comments

Comments
 (0)