Skip to content

Comments

improve logging for k8s_node_distribution_check#1105

Open
depressiveRobot wants to merge 1 commit intomainfrom
feat/logging-k8s-node-distribution-check
Open

improve logging for k8s_node_distribution_check#1105
depressiveRobot wants to merge 1 commit intomainfrom
feat/logging-k8s-node-distribution-check

Conversation

@depressiveRobot
Copy link
Contributor

Slightly improves logging to avoid confusion/be more explicit.

Signed-off-by: Marvin Frommhold <depressiveRobot@users.noreply.github.com>
@depressiveRobot depressiveRobot self-assigned this Feb 18, 2026
@depressiveRobot depressiveRobot added enhancement New feature or request kaas-hackathon KaaS Issues or pull requests relevant to the SCS KaaS layer. labels Feb 18, 2026
# 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. "
if node_type == "worker":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change introduces two mistakes:

a) this warning applies to all kinds of nodes (the text in the warning is wrong)
b) you messed up the indentation (see flake8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request KaaS Issues or pull requests relevant to the SCS KaaS layer. kaas-hackathon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants