diff --git a/x-pack/metricbeat/module/gcp/billing/billing.go b/x-pack/metricbeat/module/gcp/billing/billing.go index a1d6e3ae7807..4eec99678153 100644 --- a/x-pack/metricbeat/module/gcp/billing/billing.go +++ b/x-pack/metricbeat/module/gcp/billing/billing.go @@ -123,7 +123,7 @@ func (m *MetricSet) Fetch(ctx context.Context, reporter mb.ReporterV2) (err erro client, err := bigquery.NewClient(ctx, m.config.ProjectID, opt...) if err != nil { - return fmt.Errorf("gerror creating bigquery client: %w", err) + return fmt.Errorf("error creating BigQuery client: %w", err) } defer client.Close() diff --git a/x-pack/metricbeat/module/gcp/carbon/carbon.go b/x-pack/metricbeat/module/gcp/carbon/carbon.go index fdb9d4b4ef4b..cd76047c9be8 100644 --- a/x-pack/metricbeat/module/gcp/carbon/carbon.go +++ b/x-pack/metricbeat/module/gcp/carbon/carbon.go @@ -106,7 +106,7 @@ func (m *MetricSet) Fetch(ctx context.Context, reporter mb.ReporterV2) (err erro client, err := bigquery.NewClient(ctx, m.config.ProjectID, opt...) if err != nil { - return fmt.Errorf("gerror creating bigquery client: %w", err) + return fmt.Errorf("error creating BigQuery client: %w", err) } defer client.Close()