Skip to content

Commit 10fd4ae

Browse files
committed
typo fixes
1 parent c82e7f4 commit 10fd4ae

File tree

1 file changed

+2
-2
lines changed
  • mamonsu/plugins/pgsql/driver

1 file changed

+2
-2
lines changed

mamonsu/plugins/pgsql/driver/pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def in_recovery(self, db=None):
8989

9090
def is_bootstraped(self, db=None):
9191
if db in self._cache['bootstrap']['storage']:
92-
if self.cache['bootstrap']['counter'] < self._cache['bootstrap']['cache']:
93-
self.cache['bootstrap']['counter'] += 1
92+
if self._cache['bootstrap']['counter'] < self._cache['bootstrap']['cache']:
93+
self._cache['bootstrap']['counter'] += 1
9494
return self._cache['bootstrap']['storage'][db]
9595
self._cache['bootstrap']['counter'] = 0
9696
sql = """select count(*) from pg_catalog.pg_class

0 commit comments

Comments
 (0)