Skip to content

Commit

Permalink
Fix GlueCrawlerOperature failure when using tags (#27556)
Browse files Browse the repository at this point in the history
  • Loading branch information
IAL32 committed Nov 30, 2022
1 parent 527fbce commit 6fc5d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/hooks/glue_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def update_crawler(self, **crawler_kwargs) -> bool:
current_crawler = self.get_crawler(crawler_name)

update_config = {
key: value for key, value in crawler_kwargs.items() if current_crawler[key] != crawler_kwargs[key]
key: value for key, value in crawler_kwargs.items() if current_crawler.get(key, None) != crawler_kwargs.get(key)
}
if update_config != {}:
self.log.info("Updating crawler: %s", crawler_name)
Expand Down

0 comments on commit 6fc5d39

Please sign in to comment.