瀏覽代碼

HUE-4352 [indexer] Fix typo for grok dictionary file exists check

Aaron Peddle 9 年之前
父節點
當前提交
f66ebd8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/indexer/src/indexer/smart_indexer.py

+ 1 - 1
desktop/libs/indexer/src/indexer/smart_indexer.py

@@ -184,7 +184,7 @@ class Indexer(object):
       "get_regex":Indexer._get_regex_for_type,
       "format":data['format'],
       "get_kept_args": get_checked_args,
-      "grok_dictionaries_location" : grok_dicts_loc if self.fs.exists(geolite_loc) else None,
+      "grok_dictionaries_location" : grok_dicts_loc if self.fs.exists(grok_dicts_loc) else None,
       "geolite_db_location" : geolite_loc if self.fs.exists(geolite_loc) else None,
       "zk_host": zkensemble()
     }