mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where target connection is wrong while checking version compatibility in schema diff.
This commit is contained in:
@@ -709,7 +709,7 @@ def check_version_compatibility(sid, tid):
|
||||
|
||||
tar_server = Server.query.filter_by(id=tid).first()
|
||||
tar_manager = driver.connection_manager(tar_server.id)
|
||||
target_conn = src_manager.connection()
|
||||
target_conn = tar_manager.connection()
|
||||
|
||||
if not (src_conn.connected() and target_conn.connected()):
|
||||
return False, gettext('Server(s) disconnected.')
|
||||
|
||||
Reference in New Issue
Block a user