mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
fix function name in comment (#21214)
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
@@ -118,7 +118,7 @@ func verifySignatureAtTime(p7 *PKCS7, signer signerInfo, truststore *x509.CertPo
|
||||
}
|
||||
}
|
||||
|
||||
// dsaSignature verifies the DSA signature on a PKCS7 document. DSA support was
|
||||
// dsaCheckSignature verifies the DSA signature on a PKCS7 document. DSA support was
|
||||
// removed from Go's crypto/x509 support prior to Go 1.16. This allows
|
||||
// verifying legacy signatures until affected applications can be migrated off
|
||||
// of DSA.
|
||||
|
||||
@@ -222,7 +222,7 @@ func (c *BaseCommand) DefaultWrappingLookupFunc(operation, path string) string {
|
||||
return api.DefaultWrappingLookupFunc(operation, path)
|
||||
}
|
||||
|
||||
// getValidationRequired checks to see if the secret exists and has an MFA
|
||||
// getMFAValidationRequired checks to see if the secret exists and has an MFA
|
||||
// requirement. If MFA is required and the number of constraints is greater than
|
||||
// 1, we can assert that interactive validation is not required.
|
||||
func (c *BaseCommand) getMFAValidationRequired(secret *api.Secret) bool {
|
||||
|
||||
@@ -80,7 +80,7 @@ func ensureNoLeadingSlash(s string) string {
|
||||
return s
|
||||
}
|
||||
|
||||
// columnOuput prints the list of items as a table with no headers.
|
||||
// columnOutput prints the list of items as a table with no headers.
|
||||
func columnOutput(list []string, c *columnize.Config) string {
|
||||
if len(list) == 0 {
|
||||
return ""
|
||||
|
||||
@@ -125,7 +125,7 @@ func (j *JobManager) AddJob(job Job, queueID string) {
|
||||
}
|
||||
}
|
||||
|
||||
// GetCurrentJobCount returns the total number of pending jobs in the job manager
|
||||
// GetPendingJobCount returns the total number of pending jobs in the job manager
|
||||
func (j *JobManager) GetPendingJobCount() int {
|
||||
j.l.RLock()
|
||||
defer j.l.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user