Merge "Fix pylint Error:PGSQL_RECOVERY_CONFIG"

This commit is contained in:
Jenkins 2016-09-19 19:00:19 +00:00 committed by Gerrit Code Review
commit d7fc09a1bc

View File

@ -102,7 +102,7 @@ class PgSqlProcess(object):
on a hot standby, so grab what we have written to the recovery
file
"""
r = operating_system.read_file(self.PGSQL_RECOVERY_CONFIG,
r = operating_system.read_file(self.pgsql_recovery_config,
as_root=True)
regexp = re.compile("host=(\d+.\d+.\d+.\d+) ")
m = regexp.search(r)