From 207983f5265c6a02d9cdc24f5f76f0951cd2339f Mon Sep 17 00:00:00 2001 From: Calvin Leung Huang Date: Wed, 3 May 2017 16:13:54 -0400 Subject: [PATCH] Minor comment update on cert_util --- builtin/logical/pki/cert_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/logical/pki/cert_util.go b/builtin/logical/pki/cert_util.go index 30c3e57095..1796d98a01 100644 --- a/builtin/logical/pki/cert_util.go +++ b/builtin/logical/pki/cert_util.go @@ -219,7 +219,7 @@ func fetchCertBySerial(req *logical.Request, prefix, serial string) (*logical.St return certEntry, nil } - // No point checking these, no old/new style colons/hyphens + // If legacyPath is unset, it's going to be a CA or CRL; return immediately if legacyPath == "" { return nil, nil }