Typo fix
This commit is contained in:
parent
a7484fb1e7
commit
0584cfd53c
|
|
@ -147,7 +147,7 @@ func main() {
|
||||||
caCert, err := x509.ParseCertificate(caCertDER)
|
caCert, err := x509.ParseCertificate(caCertDER)
|
||||||
cmd.FailOnError(err, fmt.Sprintf("Couldn't parse cert read from [%s]", c.Common.IssuerCert))
|
cmd.FailOnError(err, fmt.Sprintf("Couldn't parse cert read from [%s]", c.Common.IssuerCert))
|
||||||
if len(caCert.SubjectKeyId) == 0 {
|
if len(caCert.SubjectKeyId) == 0 {
|
||||||
cmd.FailOnErr(fmt.Errorf("Empty subjectKeyID"), "Unable to use CA certificate")
|
cmd.FailOnError(fmt.Errorf("Empty subjectKeyID"), "Unable to use CA certificate")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Construct source from DB
|
// Construct source from DB
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue