Skip to content

Commit 5ef152d

Browse files
committed
Handle "unknown" server names as genuine
1 parent 8cc4e4a commit 5ef152d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/data-service/src/instance-detail-helper.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ async function buildGenuineMongoDBInfo(
218218
});
219219

220220
return {
221-
isGenuine: serverName === 'mongodb',
221+
// Actually, we can't say for sure that 'unknown' is genuine,
222+
// but we cannot say that it's non-genuine either.
223+
isGenuine: serverName === 'mongodb' || serverName === 'unknown',
222224
serverName,
223225
};
224226
}

0 commit comments

Comments
 (0)