Skip to content

Commit

Permalink
MINOR: Fix load config properties may get error in windows due to fil…
Browse files Browse the repository at this point in the history
…e seperate (#813)
  • Loading branch information
ruanwenjun authored Mar 15, 2022
1 parent 5bc8638 commit 0a252c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public String getProp(String key) {
*/
private void loadProperties() {
try (InputStream resourceAsStream = ConfigurationWrapper.class.getResourceAsStream(
File.separator + EventMeshConstants.EVENTMESH_CONF_FILE)) {
"/" + EventMeshConstants.EVENTMESH_CONF_FILE)) {
if (resourceAsStream != null) {
properties.load(resourceAsStream);
}
Expand Down

0 comments on commit 0a252c9

Please sign in to comment.