Alex Lourie has uploaded a new change for review.

Change subject: packaging: Fixed usage of dbName param in getTasks and 
getCompensations
......................................................................

packaging: Fixed usage of dbName param in getTasks and getCompensations

Change-Id: I95c3c2031f2ba3637032c0f36cd7574acacb2c6a
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M packaging/fedora/setup/engine-upgrade.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/8931/1

diff --git a/packaging/fedora/setup/engine-upgrade.py 
b/packaging/fedora/setup/engine-upgrade.py
index 9fbc03c..f053c6e 100755
--- a/packaging/fedora/setup/engine-upgrade.py
+++ b/packaging/fedora/setup/engine-upgrade.py
@@ -785,7 +785,7 @@
                                        userName=SERVER_ADMIN,
                                        dbHost=SERVER_NAME,
                                        dbPort=SERVER_PORT,
-                                       dbName=basedefs.DB_NAME,
+                                       dbName=dbName,
                                        sqlQuery=ASYNC_TASKS_QUERY,
                                        failOnError=True,
                                        errMsg="Can't get async tasks list",
@@ -803,7 +803,7 @@
                                        userName=SERVER_ADMIN,
                                        dbHost=SERVER_NAME,
                                        dbPort=SERVER_PORT,
-                                       dbName=basedefs.DB_NAME,
+                                       dbName=dbName,
                                        sqlQuery=COMPENSATIONS_QUERY,
                                        failOnError=True,
                                        errMsg="Can't get compensations list",


--
To view, visit http://gerrit.ovirt.org/8931
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I95c3c2031f2ba3637032c0f36cd7574acacb2c6a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alou...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to