mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +01:00
builtin/credential/cert: fix dropped test error (#12184)
This commit is contained in:
parent
95ff6687b1
commit
38ef9a066c
@ -1377,6 +1377,9 @@ func TestBackend_validCIDR(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
readResult, err := b.HandleRequest(context.Background(), readCertReq)
|
readResult, err := b.HandleRequest(context.Background(), readCertReq)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
cidrsResult := readResult.Data["bound_cidrs"].([]*sockaddr.SockAddrMarshaler)
|
cidrsResult := readResult.Data["bound_cidrs"].([]*sockaddr.SockAddrMarshaler)
|
||||||
|
|
||||||
if cidrsResult[0].String() != boundCIDRs[0] ||
|
if cidrsResult[0].String() != boundCIDRs[0] ||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user