mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 23:38:52 -04:00
Merge pull request #2985 from GSA/remove-cf-redis-workaround
Remove secure Redis protocol workaround
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")
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ bucket_credentials = {
|
||||
@pytest.fixture
|
||||
def vcap_services():
|
||||
return {
|
||||
"aws-elasticache-redis": [{"credentials": {"uri": "redis://xxx:6379"}}],
|
||||
"aws-elasticache-redis": [{"credentials": {"uri": "rediss://xxx:6379"}}],
|
||||
"s3": [
|
||||
{
|
||||
"name": "notify-api-csv-upload-bucket-test",
|
||||
|
||||
Reference in New Issue
Block a user