From d49ee2997f69e93e530c6ac1e76f63acfe516458 Mon Sep 17 00:00:00 2001 From: Ionut Filip Date: Thu, 22 Aug 2019 15:26:06 +0300 Subject: [PATCH] Remove unnecesary condition --- services/rspamd/start.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/rspamd/start.py b/services/rspamd/start.py index f62dc651..1868a339 100755 --- a/services/rspamd/start.py +++ b/services/rspamd/start.py @@ -10,9 +10,7 @@ log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING")) # Actual startup script os.environ["FRONT_ADDRESS"] = system.resolve_address(os.environ.get("HOST_FRONT", "front")) - -if "HOST_REDIS" not in os.environ: - os.environ["REDIS_ADDRESS"] = system.resolve_address(os.environ.get("HOST_REDIS", "redis")) +os.environ["REDIS_ADDRESS"] = system.resolve_address(os.environ.get("HOST_REDIS", "redis")) for rspamd_file in glob.glob("/conf/*"):