diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2021-09-08 12:03:22 +0200 |
---|---|---|
committer | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-09-20 10:35:23 +0000 |
commit | 7bf306eeb0f6be832558c6edb48b78f5909b2831 (patch) | |
tree | c93f9778c84a71f6a759bb891baf1a15f73f3f3b /kubernetes/policy | |
parent | 19be4574b149424bf625cfc0bbf25051cf52beb4 (diff) |
[COMMON] Replace tabs by 4 ws in shell scripts
with the following command
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} +
then realign manually what deserves it and in particular,
unindent some EOF scripting tags so they do not trigger errors.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
Diffstat (limited to 'kubernetes/policy')
-rwxr-xr-x | kubernetes/policy/resources/config/db.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/resources/config/db.sh b/kubernetes/policy/resources/config/db.sh index 90c987984f..08d84928e1 100755 --- a/kubernetes/policy/resources/config/db.sh +++ b/kubernetes/policy/resources/config/db.sh @@ -20,8 +20,8 @@ mysql() { /usr/bin/mysql -h ${MYSQL_HOST} -P ${MYSQL_USER} "$@"; }; for db in support onap_sdk log migration operationshistory10 pooling policyadmin policyclamp operationshistory do - mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" - mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" + mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" + mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" done mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" |