Skip to content

Commit 6d132b2

Browse files
committed
correcct comment
1 parent 1d119f7 commit 6d132b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/data-service/src/data-service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,9 @@ class DataServiceImpl extends WithLogContext implements DataService {
11541154
// unsupported collection type: either a view or a ADF
11551155
message.includes('not valid for Data Lake') ||
11561156
message.includes('is a view, not a collection') ||
1157-
// When trying to fetch collectionStats for a namespace whose db does not exist,
1158-
// the server throws an error. This happens because we show dbs/collections to
1159-
// the user from their roles/privileges.
1157+
// When trying to fetch collectionStats for a collection whose db
1158+
// does not exist, the server throws an error. This happens
1159+
// because we show collections to the user from their privileges.
11601160
message.includes(`Database [${databaseName}] not found`)
11611161
) {
11621162
return this._buildCollectionStats(databaseName, collectionName, {});

0 commit comments

Comments
 (0)