diff --git a/goal/goal.go b/goal/goal.go index a423e6b..a000f04 100644 --- a/goal/goal.go +++ b/goal/goal.go @@ -64,10 +64,8 @@ func putGoalHttp(goal string, configuration config.Configuration) error { if err != nil { return err } - httpClient := httpclient.GetHttpClient(configuration.TimerInsecure) _, err = httpclient.SendRequest(requestBody, "PUT", getGoalUrl(configuration), httpClient) - return err }