Skip to content

Commit

Permalink
redshift_info - fix invalid import path for botocore exceptions (#970) (
Browse files Browse the repository at this point in the history
#989)

[PR #970/56f55fac backport][stable-2] redshift_info - fix invalid import path for botocore exceptions

This is a backport of PR #970 as merged into main (56f55fa).
Depends-On: #979
SUMMARY



Fix invalid import path for botocore exceptions
Fixes #968

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
redshift_info
  • Loading branch information
patchback[bot] authored Mar 15, 2022
1 parent a2dda5b commit dbd0ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/970-redshift_info-boto-import.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- redshift_info - fix invalid import path for botocore exceptions (https://github.com/ansible-collections/community.aws/issues/968).
2 changes: 1 addition & 1 deletion plugins/modules/redshift_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
import re

try:
from botocore.exception import BotoCoreError, ClientError
from botocore.exceptions import BotoCoreError, ClientError
except ImportError:
pass # caught by AnsibleAWSModule

Expand Down

0 comments on commit dbd0ce1

Please sign in to comment.