diff --git a/bin/cmd_standby b/bin/cmd_standby index 92196f1..b55af05 100755 --- a/bin/cmd_standby +++ b/bin/cmd_standby @@ -665,7 +665,7 @@ if __name__ == '__main__': success = standby.ping_check_func() # If we want to start or stop postgresql on the slave elif pgctl_action == 'start': - self.copy_conf() + standby.copy_conf() success = standby.start_postgresql_func() elif pgctl_action == 'stop': success = standby.stop_postgresql_func()