Skip to content

Commit 7617c71

Browse files
fix mistakes
Signed-off-by: Marvin Frommhold <depressiveRobot@users.noreply.github.com>
1 parent 2fa381d commit 7617c71

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tests/kaas/k8s-node-distribution/k8s_node_distribution_check.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ def compare_labels(node_list, node_type="control"):
165165
#
166166
# if node_type == "control":
167167
# raise DistributionException("The distribution of nodes described in the standard couldn't be detected.")
168-
if node_type == "worker":
169-
logger.warning("No node distribution could be detected for the worker nodes. "
168+
logger.warning(f"No node distribution could be detected for {node_type} nodes. "
170169
"This produces only a warning, since it is just a recommendation.")
171170

172171

0 commit comments

Comments
 (0)