Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
John2020-cyber committed Jan 15, 2024
1 parent 1e9e68e commit 8d4bc68
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/monitors/grafana/grafana-monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ func (service *GrafanaMonitorService) CreateSyntheticCheck(monitor models.Monito
checkId = idResult
}
grafanaConfig, _ := monitor.Config.(*endpointmonitorv1alpha1.GrafanaConfig)

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

View workflow job for this annotation

GitHub Actions / Pull Request

grafanaConfig declared and not used) (typecheck)

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

View workflow job for this annotation

GitHub Actions / Pull Request

grafanaConfig declared and not used (typecheck)
if grafanaConfig != nil {
tenantID = grafanaConfig.TenantId
}
// Creating a new Check object
return &synthetic_monitoring.Check{
Id: checkId,
Expand Down

0 comments on commit 8d4bc68

Please sign in to comment.