Skip to content

Commit 62d9a4c

Browse files
committed
Updated example
1 parent 0b443b1 commit 62d9a4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config-examples/src/main/java/io/scalecube/config/examples/PredicateOrderingConfigExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ public static void main(String[] args) {
3232
ConfigRegistry configRegistry =
3333
ConfigRegistry.create(
3434
ConfigRegistrySettings.builder()
35+
.addLastSource("sysProps", new SystemPropertiesConfigSource())
3536
.addLastSource(
36-
"customSys",
37+
"customSysProps",
3738
new SystemPropertiesConfigSource(new ClassPathConfigSource(customSysPredicate)))
3839
.addLastSource(
3940
"classpath",

0 commit comments

Comments
 (0)