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:
Carlo Costino
2025-10-07 15:11:32 -04:00
parent fe5428efe8
commit fa0a82a92a

View File

@@ -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")