Skip to content

Commit

Permalink
misc: addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Oct 28, 2024
1 parent bbcda87 commit 324dcb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type InfisicalClientInterface interface {

type Config struct {
SiteUrl string `default:"https://app.infisical.com"`
CaCertificate string `default:""`
CaCertificate string
UserAgent string `default:"infisical-go-sdk"` // User-Agent header to be used on requests sent by the SDK. Defaults to `infisical-go-sdk`. Do not modify this unless you have a reason to do so.
AutoTokenRefresh bool `default:"true"` // Wether or not to automatically refresh the auth token after using one of the .Auth() methods. Defaults to `true`.
SilentMode bool `default:"false"` // If enabled, the SDK will not print any warnings to the console.
Expand Down Expand Up @@ -155,7 +155,6 @@ func (c *InfisicalClient) UpdateConfiguration(config Config) {
util.PrintWarning("failed to append CA certificate")
}

// Create a TLS configuration with the custom CA pool
tlsConfig := &tls.Config{
RootCAs: caCertPool,
}
Expand Down

0 comments on commit 324dcb1

Please sign in to comment.