Skip to content

Commit

Permalink
removing errant equivalence condition in an array check.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Aug 28, 2023
1 parent c7276a4 commit d480293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supervisor/job_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def create_job_object(self, run: dict, job_type: JobType, job_details: dict):
secret_env_params = self.secret_env_params.copy()

# load geo can't use the http_proxy values
if job_type not in (JobType.LOAD_GEO_SERVER, job_type != JobType.LOAD_GEO_SERVER_S3):
if job_type not in (JobType.LOAD_GEO_SERVER, JobType.LOAD_GEO_SERVER_S3):
# add the proxy values to the env param list
secret_env_params.extend([{'name': 'http_proxy', 'key': 'http-proxy-url'}, {'name': 'https_proxy', 'key': 'http-proxy-url'},
{'name': 'HTTP_PROXY', 'key': 'http-proxy-url'}, {'name': 'HTTPS_PROXY', 'key': 'http-proxy-url'}])
Expand Down

0 comments on commit d480293

Please sign in to comment.