mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:38:25 +00:00
redacted keys/token in backend config debug log
This commit is contained in:
@@ -39,7 +39,7 @@ var _ restic.Backend = &Backend{}
|
||||
func open(cfg Config, rt http.RoundTripper) (*Backend, error) {
|
||||
debug.Log("open, config %#v", cfg)
|
||||
|
||||
client, err := storage.NewBasicClient(cfg.AccountName, cfg.AccountKey)
|
||||
client, err := storage.NewBasicClient(cfg.AccountName, cfg.AccountKey.Unwrap())
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "NewBasicClient")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user