Remove trailing spaces, convert dos2unix

These are issues that pre-commit identified. Address them now.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I19f7d3689a000c41787b3fe15632564928bbf6a6
This commit is contained in:
Stephen Finucane 2023-06-01 11:54:08 +01:00
parent bc70c12b89
commit 23e6493dee
33 changed files with 4054 additions and 4058 deletions

View File

@ -992,6 +992,7 @@ test_create_nfs_share_batch:
nfs_share: &nfs_share__test_create_nfs_share_batch
_properties:
name: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 151081080
unity:
_methods:
@ -1005,11 +1006,6 @@ test_create_nfs_share_batch:
_properties:
<<: *nas_server_prop
nfs_share:
_properties:
name: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 151081080
test_get_share_with_invalid_proto:
share:
_properties:

View File

@ -39,7 +39,7 @@ DB_ROOT_PW=${POSTGRES_ROOT_PW:-insecure_slave}
# Setup user
root_roles=$(sudo -H -u postgres psql -t -c "
SELECT 'HERE' from pg_roles where rolname='$DB_USER'")
SELECT 'HERE' from pg_roles where rolname='$DB_USER'")
if [[ ${root_roles} == *HERE ]];then
sudo -H -u postgres psql -c "ALTER ROLE $DB_USER WITH SUPERUSER LOGIN PASSWORD '$DB_PW'"
else