@@ -114,7 +114,7 @@ const { load } = require("@azure/app-configuration-provider");
114
114
const connectionString = process .env .AZURE_APPCONFIG_CONNECTION_STRING ;
115
115
116
116
async function run () {
117
- console .log (" Sample 3 : Load specific key-values using selectors" );
117
+ console .log (" Sample 2 : Load specific key-values using selectors" );
118
118
119
119
// Load a subset of keys starting with "app." prefix.
120
120
const settings = await load (connectionString, {
@@ -154,7 +154,7 @@ const { load } = require("@azure/app-configuration-provider");
154
154
const connectionString = process .env .AZURE_APPCONFIG_CONNECTION_STRING ;
155
155
156
156
async function run () {
157
- console .log (" Sample 2 : Load key-values and trim prefix from keys" );
157
+ console .log (" Sample 3 : Load key-values and trim prefix from keys" );
158
158
159
159
// Load all key-values with no label, and trim "app." prefix from all keys.
160
160
const settings = await load (connectionString, {
@@ -280,7 +280,7 @@ run().catch(console.error);
280
280
**Sample 2**
281
281
282
282
```Output
283
- Sample 3 : Load specific key-values using selectors
283
+ Sample 2 : Load specific key-values using selectors
284
284
---Consume configuration as a Map---
285
285
settings.has("message"): false
286
286
settings.has("app.greeting"): true
@@ -294,7 +294,7 @@ run().catch(console.error);
294
294
**Sample 3**
295
295
296
296
```Output
297
- Sample 2 : Load key-values and trim prefix from keys
297
+ Sample 3 : Load key-values and trim prefix from keys
298
298
---Consume configuration as a Map---
299
299
settings.get("greeting"): Hello World
300
300
settings.get("json"): { myKey: 'myValue' }
0 commit comments