Skip to content

Commit 3c12654

Browse files
committed
use empty string as placeholder when page etag is undefined, to keep the order
1 parent b1cf809 commit 3c12654

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
270270
listOptions
271271
).byPage();
272272
for await (const page of pageIterator) {
273-
if (page._response.status === 200) {
274-
if (page.etag) {
275-
pageEtags.push(page.etag);
276-
}
277-
}
273+
pageEtags.push(page.etag ?? "");
278274
for (const setting of page.items) {
279275
if (isFeatureFlag(setting)) {
280276
featureFlagsMap.set(setting.key, setting.value);

0 commit comments

Comments
 (0)