-
Notifications
You must be signed in to change notification settings - Fork 7.9k
fix: corrects cli arg stringification #34156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
closes: keycloak#34155 Signed-off-by: Steve Hawkins <[email protected]>
vmuzikar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @shawkins
|
|
||
| public static final String NAME = "show-config"; | ||
| private static final List<String> ignoredPropertyKeys = List.of( | ||
| "kc.config.args", "kc.show.config", "kc.profile", "kc.quarkus-properties-enabled", "kc.home.dir"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity. We're still setting the kc.config.args sys prop as before. Why we don't need to ignore it any longer? It might still be recognized as a config option, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We must have at some point seen system properties as config properties. This and the check for build time properties seem to indicate that - however system properties are no longer picked up as config properties, so we don't need this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, right. Let's get this merged.
closes: keycloak#34155 Signed-off-by: Steve Hawkins <[email protected]> (cherry picked from commit 358d234)
closes: #34155 Signed-off-by: Steve Hawkins <[email protected]> (cherry picked from commit 358d234)
closes: #34155
I would have liked to just use a new static variable on ConfigArgsConfigSource, but that doesn't seem to work because a different classload is used for building.