builtin/credential/cert: fix dropped test error (#12184)

This commit is contained in:
Lars Lehtonen 2021-07-28 13:19:23 -07:00 committed by GitHub
parent 95ff6687b1
commit 38ef9a066c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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] ||