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
redshift_info - fix invalid import path for botocore exceptions

Depends-On: #979
SUMMARY

Fix invalid import path for botocore exceptions
Fixes #968

ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
redshift_info

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 56f55fa)
  • Loading branch information
winglot authored and patchback[bot] committed Mar 14, 2022
1 parent a2dda5b commit 480a0b1
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 480a0b1

Please sign in to comment.