forked from Ivasoft/traefik
refactor(dynamodb): Use Traefik Logger.
This commit is contained in:
committed by
Ludovic Fernandez
parent
46faa7a745
commit
a7ec785994
@@ -61,6 +61,12 @@ func (p *Provider) createClient() (*dynamoClient, error) {
|
||||
}),
|
||||
}
|
||||
|
||||
if p.Trace {
|
||||
cfg.WithLogger(aws.LoggerFunc(func(args ...interface{}) {
|
||||
log.Debug(args...)
|
||||
}))
|
||||
}
|
||||
|
||||
if p.Endpoint != "" {
|
||||
cfg.Endpoint = aws.String(p.Endpoint)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user