Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FastLee committed Oct 24, 2024
1 parent ce9455a commit 7a9d48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/ucx/hive_metastore/grants.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ def migrate_acls(self, *, target_catalog: str | None = None, hms_fed: bool = Fal
self._migrate_acls(tables_to_migrate)

def _retrieve_table_acls(self, *, target_catalog: str | None = None, hms_fed: bool = False) -> Iterable[Grant]:
tables = list(self._table_crawler.snapshot())
tables = list(self._tables_crawler.snapshot())
grants: list[Grant] = []
if not tables:
logger.info("No tables found to acl")
Expand Down

0 comments on commit 7a9d48a

Please sign in to comment.