Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix(disable-kpi): updated error message incase of failure to retreive…
Browse files Browse the repository at this point in the history
… KPI
  • Loading branch information
varunp2k committed Aug 1, 2022
1 parent 7838835 commit 78fb1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaos_genius/views/anomaly_data_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def disable_anomaly(kpi_id):
message = f"Falied to Disable Analytics for KPI ID: {kpi_id}"
status = "failure"
else:
message = f"KPI {kpi.id} could not be retreived."
message = f"KPI {kpi_id} could not be retreived."
status = "failure"
logger.info(message)
return jsonify({"msg": message, "status": status})
Expand Down

0 comments on commit 78fb1c1

Please sign in to comment.