Skip to content

Commit

Permalink
Remove reference to 'boto' from s3_bucket (it's not using boto and th…
Browse files Browse the repository at this point in the history
…e Error comes from the API (#543)

Remove reference to 'boto' from s3_bucket failure

SUMMARY
Remove reference to 'boto' from s3_bucket failure: it's not using boto.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
s3_bucket
ADDITIONAL INFORMATION

Reviewed-by: None <None>
  • Loading branch information
tremble authored Oct 22, 2021
1 parent b426b98 commit 5152b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/s3_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ def main():
s3_client = get_s3_client(module, aws_connect_kwargs, location, ceph, s3_url)

if s3_client is None: # this should never happen
module.fail_json(msg='Unknown error, failed to create s3 connection, no information from boto.')
module.fail_json(msg='Unknown error, failed to create s3 connection, no information available.')

state = module.params.get("state")
encryption = module.params.get("encryption")
Expand Down

0 comments on commit 5152b6e

Please sign in to comment.