CLI args not recognized when running Quarkus dev mode (#23254)
Closes #23253
This commit is contained in:
parent
4b94298b4a
commit
2f4144a8c7
1 changed files with 8 additions and 1 deletions
|
@ -77,7 +77,14 @@ public class ConfigArgsConfigSource extends PropertiesConfigSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getRawConfigArgs() {
|
private static String getRawConfigArgs() {
|
||||||
return System.getProperty(CLI_ARGS, "");
|
String args = System.getProperty(CLI_ARGS);
|
||||||
|
|
||||||
|
if (args != null) {
|
||||||
|
return args;
|
||||||
|
}
|
||||||
|
|
||||||
|
// make sure quarkus.args property is properly formatted
|
||||||
|
return String.join(ARG_SEPARATOR, System.getProperty("quarkus.args", "").split(" "));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue