mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-09-01 09:37:16 +00:00
* fix(cerberus): fix config key typo and shadowed global in get_status Fixes #1302 - Fix typo in set_url(): read 'check_application_routes' instead of 'check_applicaton_routes' so the correct config key is used - Remove local 'check_application_routes = False' in get_status() and declare global instead, so the value set by set_url() is actually read - Update test config key and remove the workaround comment that acknowledged the shadowed global Signed-off-by: netram75 <netram.24bcs10329@sst.scaler.com> * fix(cerberus): remove extra cerberus_url arg from application_status call application_status(start_time, end_time) takes two parameters but was being called with three (cerberus_url, start_time, end_time), which would raise a TypeError whenever check_application_routes is enabled. Remove the stale argument since the function already reads cerberus_url from the module global. Signed-off-by: netram75 <netram.24bcs10329@sst.scaler.com> --------- Signed-off-by: netram75 <netram.24bcs10329@sst.scaler.com> Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com>