Update comment spelling in postgresql.go (#6817)

Fixed minor comment: PostgresSQL/PostgreSQL
This commit is contained in:
Justin Weissig
2019-06-04 00:29:36 -07:00
committed by Michel Vocks
parent a92c6342d5
commit b347c8ec52

View File

@@ -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()