Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def compare_labels(node_list, node_type="control"):
try:
label_data[key].append(node[key])
except KeyError:
raise LabelException(f"The label for {key.split('/')[1]}s doesn't seem to be set for all nodes.")
raise LabelException(f"The label for {key.split('/')[1]}s doesn't seem to be set for all {node_type} nodes.")

for label in LABELS:
if len(set(label_data[label])) <= 1:
Expand All @@ -165,7 +165,7 @@ def compare_labels(node_list, node_type="control"):
#
# if node_type == "control":
# raise DistributionException("The distribution of nodes described in the standard couldn't be detected.")
logger.warning("No node distribution could be detected for the worker nodes. "
logger.warning(f"No node distribution could be detected for {node_type} nodes. "
"This produces only a warning, since it is just a recommendation.")


Expand Down