summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-09 03:15:39 +0000
committerGerrit Code Review <review@openstack.org>2018-02-09 03:15:39 +0000
commitbaaaac83347616412ac1c539ec872a0860cfc2d7 (patch)
tree3d4126395863daf1d0950658c82c0f283ff48012
parent51f2da6847eac5b4a983fca513a0b7c90efa7138 (diff)
parent0eae042534fdfab9cb51405a00f287524e08d074 (diff)
Merge "fix the typo mistake"
-rw-r--r--mogan/common/keystone.py2
-rwxr-xr-xtools/test-setup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/mogan/common/keystone.py b/mogan/common/keystone.py
index 29e040a..3a69a4c 100644
--- a/mogan/common/keystone.py
+++ b/mogan/common/keystone.py
@@ -61,7 +61,7 @@ def get_session(group):
61 61
62 62
63# TODO(pas-ha) we actually should barely need this at all: 63# TODO(pas-ha) we actually should barely need this at all:
64# if we instantiate a identity.Token auth plugin from incoming 64# if we instantiate an identity.Token auth plugin from incoming
65# request context we could build a session with it, and each client 65# request context we could build a session with it, and each client
66# would know its service_type already, looking up the endpoint by itself 66# would know its service_type already, looking up the endpoint by itself
67@ks_exceptions 67@ks_exceptions
diff --git a/tools/test-setup.sh b/tools/test-setup.sh
index 07a0785..4eb14cd 100755
--- a/tools/test-setup.sh
+++ b/tools/test-setup.sh
@@ -18,7 +18,7 @@ DB_PW=openstack_citest
18sudo -H mysqladmin -u root password $DB_ROOT_PW 18sudo -H mysqladmin -u root password $DB_ROOT_PW
19 19
20# It's best practice to remove anonymous users from the database. If 20# It's best practice to remove anonymous users from the database. If
21# a anonymous user exists, then it matches first for connections and 21# an anonymous user exists, then it matches first for connections and
22# other connections from that host will not work. 22# other connections from that host will not work.
23sudo -H mysql -u root -p$DB_ROOT_PW -h localhost -e " 23sudo -H mysql -u root -p$DB_ROOT_PW -h localhost -e "
24 DELETE FROM mysql.user WHERE User=''; 24 DELETE FROM mysql.user WHERE User='';