Skip to content

Commit

Permalink
Update postgres-appliance/scripts/configure_spilo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Polina Bungina <[email protected]>
  • Loading branch information
FxKu and hughcapet authored Oct 9, 2024
1 parent 4aabc49 commit ceea8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres-appliance/scripts/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def get_placeholders(provider):
placeholders.setdefault('LOG_BUCKET_SCOPE_SUFFIX', '')

# only accept true as value or else it will be empty = disabled
if placeholders['LOG_SHIP_HOURLY'] and os.environ.get('LOG_SHIP_HOURLY').lower() == 'true':
if placeholders.get('LOG_SHIP_HOURLY', '').lower() == 'true':
placeholders['LOG_SHIP_HOURLY'] = 'true'
else:
placeholders['LOG_SHIP_HOURLY'] = ''
Expand Down

0 comments on commit ceea8e8

Please sign in to comment.