Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Kalafut committed Dec 7, 2021
1 parent 2bdd7ba commit 74f251a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vault/barrier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ func testInitAndUnseal(t *testing.T, b SecurityBarrier) (error, *logical.Storage
t.Fatalf("should be unsealed")
}

// Verify the master key
if err := b.VerifyMaster(key); err != nil {
// Verify the root key
if err := b.VerifyRoot(key); err != nil {
t.Fatalf("err: %v", err)
}
return err, e, key
Expand Down

0 comments on commit 74f251a

Please sign in to comment.