Skip to content

Commit 2d11de5

Browse files
authored
fix: logic error in s3 install script (#3965)
1 parent 37918fb commit 2d11de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/bootstrap-s3-nodestore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [[ $(echo "$bucket_list" | tail -1 | awk '{print $3}') != 's3://nodestore' ]]
5353

5454
if [[ "$APPLY_AUTOMATIC_CONFIG_UPDATES" == 1 || "$apply_config_changes_nodestore" == 1 ]]; then
5555
nodestore_config=$(sed -n '/SENTRY_NODESTORE/,/[}]/{p}' sentry/sentry.conf.example.py)
56-
if [[ $($dc exec postgres psql -qAt -U postgres -c "select exists (select * from nodestore_node limit 1)") = "f" ]]; then
56+
if [[ $($dc exec postgres psql -qAt -U postgres -c "select exists (select * from nodestore_node limit 1)") = "t" ]]; then
5757
nodestore_config=$(echo -e "$nodestore_config" | sed '$s/\}/ "read_through": True,\n "delete_through": True,\n\}/')
5858
fi
5959
echo "$nodestore_config" >>$SENTRY_CONFIG_PY

0 commit comments

Comments
 (0)