Skip to content

Commit

Permalink
remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 1, 2022
1 parent f133a27 commit dd04ce8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,12 @@ func httpJob(ctx context.Context, l *logs.Logger, args JobArgs) error {
l.Error("error parsing json: %v", err)
return err
}
fmt.Println(string(parseByteTemplate(jobConfig.Client)))
var clientConfig HTTPClientConfig
err = json.Unmarshal(parseByteTemplate(jobConfig.Client), &clientConfig)
if err != nil {
l.Error("error parsing json: %v", err)
return err
}
fmt.Println(clientConfig.ProxyURLs)

timeout := time.Second * 90
if clientConfig.Timeout != nil {
Expand Down

0 comments on commit dd04ce8

Please sign in to comment.