mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
chore: fix some function names (#28251)
Signed-off-by: crystalstall <crystalruby@qq.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// ParseDeadlockDetectionSetting takes the detectDeadlockConfigParameter string
|
||||
// ParseDetectDeadlockConfigParameter takes the detectDeadlockConfigParameter string
|
||||
// and transforms it to a lowercase version of the string, then splits it into
|
||||
// a slice of strings by interpreting commas as the element delimiters.
|
||||
func ParseDetectDeadlockConfigParameter(detectDeadlockConfigParameter string) []string {
|
||||
|
||||
@@ -638,7 +638,7 @@ func (l *Listener) parseProfilingSettings() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// parseProfilingSettings attempts to parse the raw listener in-flight request logging settings.
|
||||
// parseInFlightRequestSettings attempts to parse the raw listener in-flight request logging settings.
|
||||
// The state of the listener will be modified, raw data will be cleared upon
|
||||
// successful parsing.
|
||||
func (l *Listener) parseInFlightRequestSettings() error {
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// TestGrabLockOrStopped is a non-deterministic test to detect deadlocks in the
|
||||
// TestGrabLockOrStop is a non-deterministic test to detect deadlocks in the
|
||||
// grabLockOrStopped function. This test starts a bunch of workers which
|
||||
// continually lock/unlock and rlock/runlock the same RWMutex. Each worker also
|
||||
// starts a goroutine which closes the stop channel 1/2 the time, which races
|
||||
|
||||
Reference in New Issue
Block a user