Skip to content

add controller id to the logger correctly#699

Merged
demonCoder95 merged 2 commits into
masterfrom
fix-logging
Jul 11, 2025
Merged

add controller id to the logger correctly#699
demonCoder95 merged 2 commits into
masterfrom
fix-logging

Conversation

@demonCoder95
Copy link
Copy Markdown
Member

The controller field in the logs currently has a hardcoded string stackset. This isn't helpful when we define the optional controller-id CLI parameter and run multiple controllers in a cluster for development/testing.

This populates the field correctly with the controllerID if defined, and falls back to stackset as the value when none is provided.

Comment thread controller/stackset.go Outdated
@linki
Copy link
Copy Markdown
Member

linki commented Jul 11, 2025

👍

1 similar comment
@demonCoder95
Copy link
Copy Markdown
Member Author

👍

@demonCoder95 demonCoder95 merged commit 436fe23 into master Jul 11, 2025
8 checks passed
@demonCoder95 demonCoder95 deleted the fix-logging branch July 11, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants