mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04: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:
|
try:
|
||||||
return self.parsed_services["aws-elasticache-redis"][0]["credentials"][
|
return self.parsed_services["aws-elasticache-redis"][0]["credentials"][
|
||||||
"uri"
|
"uri"
|
||||||
].replace("redis://", "rediss://")
|
]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return os.environ.get("REDIS_URL")
|
return os.environ.get("REDIS_URL")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user