internal/credential/vault: fix dropped error (#1359)

This commit is contained in:
Lars Lehtonen authored and GitHub committed 2021-06-27 20:30:23 -07:00
1 parent 26a0303b38
commit c0640d4fee
1 file changed
+1
+1
View File
@@ -196,6 +196,7 @@ func createTestToken(t *testing.T, conn *gorm.DB, wrapper wrapping.Wrapper, scop
ctx := context.Background()
kkms := kms.TestKms(t, conn, wrapper)
databaseWrapper, err := kkms.GetWrapper(ctx, scopeId, kms.KeyPurposeDatabase)
require.NoError(t, err)
inToken, err := newToken(storeId, []byte(token), []byte(accessor), 5*time.Minute)
assert.NoError(t, err)