Skip to content

Commit

Permalink
fix: ca_bundle is not being used when calling cloudwatch sync from on…
Browse files Browse the repository at this point in the history
… prem
  • Loading branch information
sethAmazon committed Sep 9, 2021
1 parent f84ce16 commit 833b368
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions plugins/outputs/cloudwatch/cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package cloudwatch
import (
"log"
"math"
"net/http"
"reflect"
"runtime"
"sort"
Expand Down Expand Up @@ -141,7 +140,6 @@ func (c *CloudWatch) Connect() error {
configProvider,
&aws.Config{
Endpoint: aws.String(c.EndpointOverride),
HTTPClient: &http.Client{Timeout: 1 * time.Minute},
Retryer: logThrottleRetryer,
})

Expand Down
2 changes: 0 additions & 2 deletions plugins/outputs/cloudwatchlogs/cloudwatchlogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package cloudwatchlogs
import (
"encoding/json"
"fmt"
"net/http"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -115,7 +114,6 @@ func (c *CloudWatchLogs) getDest(t Target) *cwDest {
credentialConfig.Credentials(),
&aws.Config{
Endpoint: aws.String(c.EndpointOverride),
HTTPClient: &http.Client{Timeout: 1 * time.Minute},
Retryer: logThrottleRetryer,
},
)
Expand Down

0 comments on commit 833b368

Please sign in to comment.