fix(tfstated): add lock handler tests
This commit is contained in:
parent
c4ce5e8623
commit
5ef098f47e
6 changed files with 102 additions and 24 deletions
|
@ -24,6 +24,9 @@ func (db *DB) GetState(name string) ([]byte, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if encryptedData == nil {
|
||||
return []byte{}, nil
|
||||
}
|
||||
return db.dataEncryptionKey.DecryptAES256(encryptedData)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue