mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 02:02:43 +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" | 	"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 | // 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. | // a slice of strings by interpreting commas as the element delimiters. | ||||||
| func ParseDetectDeadlockConfigParameter(detectDeadlockConfigParameter string) []string { | func ParseDetectDeadlockConfigParameter(detectDeadlockConfigParameter string) []string { | ||||||
|   | |||||||
| @@ -638,7 +638,7 @@ func (l *Listener) parseProfilingSettings() error { | |||||||
| 	return nil | 	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 | // The state of the listener will be modified, raw data will be cleared upon | ||||||
| // successful parsing. | // successful parsing. | ||||||
| func (l *Listener) parseInFlightRequestSettings() error { | func (l *Listener) parseInFlightRequestSettings() error { | ||||||
|   | |||||||
| @@ -12,7 +12,7 @@ import ( | |||||||
| 	"time" | 	"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 | // grabLockOrStopped function. This test starts a bunch of workers which | ||||||
| // continually lock/unlock and rlock/runlock the same RWMutex. Each worker also | // 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 | // starts a goroutine which closes the stop channel 1/2 the time, which races | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 crystalstall
					crystalstall