Skip to content

Commit

Permalink
Update internal/common/connectionsapi/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: MattNolf <[email protected]>
  • Loading branch information
fridgepoet and matthewnolf authored Sep 23, 2024
1 parent 149e316 commit d7464f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/connectionsapi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *Client) CreateMetricsEndpointScrapeJob(ctx context.Context, stackID str
respData := apiResponseWrapper[map[string]MetricsEndpointScrapeJob]{}
err := c.doAPIRequest(ctx, http.MethodPost, path, &jobData, &respData)
if err != nil {
return MetricsEndpointScrapeJob{}, fmt.Errorf("failed to create Metrics Endpoint scrape job: %w", err)
return MetricsEndpointScrapeJob{}, fmt.Errorf("failed to create metrics endpoint scrape job: %w", err)
}
return respData.Data[jobData.Name], nil
}
Expand Down

0 comments on commit d7464f1

Please sign in to comment.