mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
Update encoding.go
This commit is contained in:
parent
1fddbc98ba
commit
22c74f3a94
@ -35,7 +35,7 @@ func NewStorageEncoding(b Backend) Backend {
|
||||
}
|
||||
|
||||
if bTxn, ok := b.(Transactional); ok {
|
||||
return TransactionalStorageEncoding{
|
||||
return &TransactionalStorageEncoding{
|
||||
StorageEncoding: enc,
|
||||
Transactional: bTxn,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user