Hello Alex Lourie,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/10769
to review the following change.
Change subject: packaging: Switched to checking DB size with admin user
......................................................................
packaging: Switched to checking DB size with admin user
Change-Id: I792ccae137d327f2f62be7053f36acabe921d1d1
Signed-off-by: Alex Lourie <[email protected]>
---
M packaging/fedora/setup/common_utils.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/69/10769/1
diff --git a/packaging/fedora/setup/common_utils.py
b/packaging/fedora/setup/common_utils.py
index 581e4fe..41413ca 100755
--- a/packaging/fedora/setup/common_utils.py
+++ b/packaging/fedora/setup/common_utils.py
@@ -1459,7 +1459,7 @@
# Returns db size in MB
def getDbSize(dbname):
sql = "SELECT pg_database_size(\'%s\')" % (dbname)
- out, rc = execRemoteSqlCommand(getDbUser(),
+ out, rc = execRemoteSqlCommand(getDbAdminUser(),
getDbHostName(),
getDbPort(),
basedefs.DB_POSTGRES,
--
To view, visit http://gerrit.ovirt.org/10769
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I792ccae137d327f2f62be7053f36acabe921d1d1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches