Skip to content

Commit b3a5fc2

Browse files
iting0321iting0321
andauthored
Fix the typo in krkn/cerberus/setup.py (#1043)
* Fix typo in key name for application routes in setup.py Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> * Fix typo in 'check_applicaton_routes' to 'check_application_routes' in configuration files and cerberus scripts Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> --------- Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> Co-authored-by: iting0321 <iting0321@MacBook-11111111.local>
1 parent 05600b6 commit b3a5fc2

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

config/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ kraken:
5656
cerberus:
5757
cerberus_enabled: False # Enable it when cerberus is previously installed
5858
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
59-
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
59+
check_application_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
6060

6161
performance_monitoring:
6262
prometheus_url: '' # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.

config/config_kind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ kraken:
1313
cerberus:
1414
cerberus_enabled: False # Enable it when cerberus is previously installed
1515
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
16-
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
16+
check_application_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
1717

1818
performance_monitoring:
1919
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.

config/config_kubernetes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ kraken:
1414
cerberus:
1515
cerberus_enabled: False # Enable it when cerberus is previously installed
1616
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
17-
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
17+
check_application_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
1818

1919
performance_monitoring:
2020
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.

config/config_performance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ kraken:
3535
cerberus:
3636
cerberus_enabled: True # Enable it when cerberus is previously installed
3737
cerberus_url: http://0.0.0.0:8080 # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
38-
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
38+
check_application_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
3939

4040
performance_monitoring:
4141
deploy_dashboards: True # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift

krkn/cerberus/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_status(config, start_time, end_time):
1414
if config["cerberus"]["cerberus_enabled"]:
1515
cerberus_url = config["cerberus"]["cerberus_url"]
1616
check_application_routes = \
17-
config["cerberus"]["check_applicaton_routes"]
17+
config["cerberus"]["check_application_routes"]
1818
if not cerberus_url:
1919
logging.error(
2020
"url where Cerberus publishes True/False signal "

krkn/scenario_plugins/native/network/cerberus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_status(config, start_time, end_time):
2727
application_routes_status = True
2828
if config["cerberus"]["cerberus_enabled"]:
2929
cerberus_url = config["cerberus"]["cerberus_url"]
30-
check_application_routes = config["cerberus"]["check_applicaton_routes"]
30+
check_application_routes = config["cerberus"]["check_application_routes"]
3131
if not cerberus_url:
3232
logging.error("url where Cerberus publishes True/False signal is not provided.")
3333
sys.exit(1)

krkn/scenario_plugins/native/pod_network_outage/cerberus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_status(config, start_time, end_time):
2727
application_routes_status = True
2828
if config["cerberus"]["cerberus_enabled"]:
2929
cerberus_url = config["cerberus"]["cerberus_url"]
30-
check_application_routes = config["cerberus"]["check_applicaton_routes"]
30+
check_application_routes = config["cerberus"]["check_application_routes"]
3131
if not cerberus_url:
3232
logging.error(
3333
"url where Cerberus publishes True/False signal is not provided.")

0 commit comments

Comments
 (0)