Skip to content

Commit

Permalink
Update jfconnect/services/metrics.go
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Sverdlov <sverdlov93@gmail.com>
  • Loading branch information
eyalbe4 and sverdlov93 authored Dec 21, 2024
1 parent d8ab94a commit bc5b44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jfconnect/services/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (jcs *JfConnectService) GetJfConnectDetails() auth.ServiceDetails {
func (jcs *JfConnectService) PostMetric(metric []byte) error {
details := jcs.GetJfConnectDetails()
httpClientDetails := details.CreateHttpClientDetails()
rtUtils.SetContentType("application/json", &httpClientDetails.Headers)
httpClientDetails.SetContentTypeApplicationJson()

url := clientutils.AddTrailingSlashIfNeeded(details.GetUrl())
url += LogMetricApiEndpoint
Expand Down

0 comments on commit bc5b44f

Please sign in to comment.