Skip to content

Commit 01e6fb8

Browse files
add comments
1 parent b58745f commit 01e6fb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ConfigurationClientManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,11 @@ export class ConfigurationClientManager {
8787
this.#isFailoverable = false;
8888
return;
8989
}
90-
if (this.#dns) {
90+
if (this.#dns) { // dns module is already loaded
9191
return;
9292
}
9393

94+
// We can only know whether dns module is available during runtime.
9495
try {
9596
this.#dns = await import("dns/promises");
9697
} catch (error) {

0 commit comments

Comments
 (0)