diff --git a/docs/se/config/advanced-configuration.adoc b/docs/se/config/advanced-configuration.adoc index e8f832f6486..3094d53489a 100644 --- a/docs/se/config/advanced-configuration.adoc +++ b/docs/se/config/advanced-configuration.adoc @@ -103,7 +103,7 @@ your application can load this as configuration as follows: [source,java] .Using `directory` config source ---- -Config secrets = Config.withSources( +Config secrets = Config.builder( ConfigSources.directory("conf/secrets")) // <1> .disableEnvironmentVariablesSource() // <2> .disableSystemPropertiesSource() // <2>