mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
Update comment spelling in postgresql.go (#6817)
Fixed minor comment: PostgresSQL/PostgreSQL
This commit is contained in:
committed by
Michel Vocks
parent
a92c6342d5
commit
b347c8ec52
@@ -315,7 +315,7 @@ func (p *PostgreSQLBackend) HAEnabled() bool {
|
||||
// PostgreSQL table. It will block until either the stop channel is closed or
|
||||
// the lock could be acquired successfully. The returned channel will be closed
|
||||
// once the lock in the PostgreSQL table cannot be renewed, either due to an
|
||||
// error speaking to PostgresSQL or because someone else has taken it.
|
||||
// error speaking to PostgreSQL or because someone else has taken it.
|
||||
func (l *PostgreSQLLock) Lock(stopCh <-chan struct{}) (<-chan struct{}, error) {
|
||||
l.lock.Lock()
|
||||
defer l.lock.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user