diff --git a/chaos_genius/views/anomaly_data_view.py b/chaos_genius/views/anomaly_data_view.py index 427b78115..ba7c96775 100644 --- a/chaos_genius/views/anomaly_data_view.py +++ b/chaos_genius/views/anomaly_data_view.py @@ -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})