Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
John2020-cyber committed Jan 15, 2024
1 parent 8b44945 commit 1e9e68e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/monitors/grafana/grafana-monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func (service *GrafanaMonitorService) CreateSyntheticCheck(monitor models.Monito
}
checkId = idResult
}
var tenantID int64
grafanaConfig, _ := monitor.Config.(*endpointmonitorv1alpha1.GrafanaConfig)
if grafanaConfig != nil {
tenantID = grafanaConfig.TenantId

Check failure on line 97 in pkg/monitors/grafana/grafana-monitor.go

View workflow job for this annotation

GitHub Actions / Pull Request

undefined: tenantID) (typecheck)

Check failure on line 97 in pkg/monitors/grafana/grafana-monitor.go

View workflow job for this annotation

GitHub Actions / Pull Request

undefined: tenantID (typecheck)
Expand Down

0 comments on commit 1e9e68e

Please sign in to comment.