Skip to content

Commit

Permalink
check section exists
Browse files Browse the repository at this point in the history
  • Loading branch information
chattarajoy committed May 20, 2019
1 parent 1956246 commit 42a6ec1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qds_sdk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ def get_results(self, fp=sys.stdout, inline=True, delim=None, fetch=True, qlog=N
pass
else:
if fetch:
if not boto.config.has_section('s3'):
boto.config.add_section('s3')
boto.config.set('s3', 'use-sigv4', 'True')
storage_credentials = conn.get(Account.credentials_rest_entity_path)
if storage_credentials['region_endpoint'] is not None:
Expand Down

0 comments on commit 42a6ec1

Please sign in to comment.