Skip to content

Commit

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

redshift_info - fix invalid import path for botocore exceptions

Depends-On: ansible-collections#979
SUMMARY



Fix invalid import path for botocore exceptions
Fixes ansible-collections#968

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
redshift_info

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
  • Loading branch information
winglot authored Mar 14, 2022
1 parent 20b726a commit 56f55fa
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 @@ -277,7 +277,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 56f55fa

Please sign in to comment.