[08.10.20] Misspelling in Probe URL

This commit is contained in:
andrewso 2020-10-08 17:06:14 +01:00
parent ef7dce1375
commit c4953ca6cc

View File

@ -13,7 +13,7 @@ def health():
@app.route('/readiness') @app.route('/readiness')
def readiness(): def readiness():
result = requests.request("GET", 'http://0.0.0.0:9090/senitment?tweet=Boitcoin%20is%20doing%20very%20well') result = requests.request("GET", 'http://0.0.0.0:9090/sentiment?tweet=Bitcoin%20is%20doing%20very%20well')
result = json.loads(result.text) result = json.loads(result.text)
if result != "" : if result != "" :