Skip to content

Commit

Permalink
Merge pull request #104 from zalando/bugfix/wale-aws
Browse files Browse the repository at this point in the history
Fix a typo when configuring WAL-E.
  • Loading branch information
Oleksii Kliukin committed Nov 9, 2016
2 parents 117674d + 52ed4a0 commit 2cb7cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres-appliance/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def write_wale_command_environment(placeholders, overwrite, provider):
if match:
region = match.group(1)
else:
region = get_instance_metadata('placement/availability-zone')[:-1]
region = placeholders['instance_data']['zone'][:-1]
write_file('https+path://s3-{}.amazonaws.com:443'.format(region),
os.path.join(placeholders['WALE_ENV_DIR'], 'WALE_S3_ENDPOINT'), overwrite)
elif provider == PROVIDER_GOOGLE:
Expand Down

0 comments on commit 2cb7cd8

Please sign in to comment.