Skip to content

Commit

Permalink
fix: httptracing for s3
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed May 22, 2023
1 parent 98de29e commit 1f5bd54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ type Storage struct {
SFTPHostBasePath string `yaml:"sftpBasePath"` // base path for sftp storage
AzureAccount string `yaml:"azureAccount,omitempty"` // azure account name
AzureKey string `yaml:"azureKey,omitempty"` // azure key
HTTPTracing string `yaml:"HTTPTracing,omitempty" default:"false"`
Hash string // unique hash for given storage
}

Expand Down
1 change: 1 addition & 0 deletions pkg/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ func getClient(obj *object.FileObject) (storageClient, error) {
s3Storage.ConfigSecretKey: storageCfg.SecretAccessKey,
s3Storage.ConfigRegion: storageCfg.Region,
s3Storage.ConfigEndpoint: storageCfg.Endpoint,
s3Storage.ConfigHTTPTracing: storageCfg.HTTPTracing,
}
case "local-meta":
config = stow.ConfigMap{
Expand Down

0 comments on commit 1f5bd54

Please # to comment.