diff --git a/helper/locking/core_locking.go b/helper/locking/core_locking.go index abd17180943b..7370fd907c91 100644 --- a/helper/locking/core_locking.go +++ b/helper/locking/core_locking.go @@ -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 { diff --git a/internalshared/configutil/listener.go b/internalshared/configutil/listener.go index 1e959b5c86ad..b9ed168abf7e 100644 --- a/internalshared/configutil/listener.go +++ b/internalshared/configutil/listener.go @@ -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 { diff --git a/vault/ha_test.go b/vault/ha_test.go index cf3142d76fea..77444b99a9d2 100644 --- a/vault/ha_test.go +++ b/vault/ha_test.go @@ -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