mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Add context to storage backends and wire it through a lot of places (#3817)
This commit is contained in:
committed by
Jeff Mitchell
parent
2864fbd697
commit
8142b42d95
@@ -2,6 +2,7 @@ package aws
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
@@ -22,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
func getBackend(t *testing.T) logical.Backend {
|
||||
be, _ := Factory(logical.TestBackendConfig())
|
||||
be, _ := Factory(context.Background(), logical.TestBackendConfig())
|
||||
return be
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user