Skip to content

Commit

Permalink
fix[prod] single quote and double quote test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ankita-gulati-gojek committed Nov 6, 2023
1 parent 8a76cd2 commit f6e3739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/scheduler/airflow/__lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def __init__(

def poke(self, context: 'Context') -> bool:
self.log.info('Poking: %s', self.endpoint)
r = requests.get(url=self.endpoint, headers=self.headers, params=self.request_params, timeout=OPTIMUS_REQUEST_TIMEOUT_IN_SECS))
r = requests.get(url=self.endpoint, headers=self.headers, params=self.request_params, timeout=OPTIMUS_REQUEST_TIMEOUT_IN_SECS)
if (r.status_code >= 200 and r.status_code <= 300):
return True
return False

0 comments on commit f6e3739

Please sign in to comment.