Skip to content

Commit 47ef722

Browse files
committed
fix typo in sqs endpoint
Signed-off-by: Francesco De Martino <[email protected]>
1 parent 6c1fe2c commit 47ef722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqswatcher/sqswatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _get_sqs_queue(region, queue_name, proxy_config):
123123
:return: the Queue object
124124
"""
125125
log.debug("Getting SQS queue '%s'", queue_name)
126-
endpoint_url = "https://sts.{0}.{1}".format(
126+
endpoint_url = "https://sqs.{0}.{1}".format(
127127
region, "amazonaws.com.cn" if region.startswith("cn-") else "amazonaws.com"
128128
)
129129
sqs = boto3.resource("sqs", region_name=region, config=proxy_config, endpoint_url=endpoint_url)

0 commit comments

Comments
 (0)