builtin/credential/cert: fix dropped test error (#12184)
This commit is contained in:
parent
4223ddf6fd
commit
7f6602d017
|
@ -1377,6 +1377,9 @@ func TestBackend_validCIDR(t *testing.T) {
|
|||
}
|
||||
|
||||
readResult, err := b.HandleRequest(context.Background(), readCertReq)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
cidrsResult := readResult.Data["bound_cidrs"].([]*sockaddr.SockAddrMarshaler)
|
||||
|
||||
if cidrsResult[0].String() != boundCIDRs[0] ||
|
||||
|
|
Loading…
Reference in New Issue