mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-09 06:33:52 -05:00
Remove secure Redis protocol workaround
This changeset removes a workaround that has been in place to account for a small error in the Cloud.gov AWS broker that has recently been fixed. h/t to @markdboyd for the fix here! https://github.com/cloud-gov/aws-broker/pull/440 Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -19,7 +19,7 @@ class CloudfoundryConfig:
|
||||
try:
|
||||
return self.parsed_services["aws-elasticache-redis"][0]["credentials"][
|
||||
"uri"
|
||||
].replace("redis://", "rediss://")
|
||||
]
|
||||
except KeyError:
|
||||
return os.environ.get("REDIS_URL")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user