瀏覽代碼

HUE-4191 [oozie] Prevent 500 error when listing a workflow which coordinator is none

Romain Rigaux 9 年之前
父節點
當前提交
ea996ac
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      apps/oozie/src/oozie/views/dashboard.py

+ 1 - 0
apps/oozie/src/oozie/views/dashboard.py

@@ -312,6 +312,7 @@ def list_oozie_workflow(request, job_id):
   credentials = None
   doc = None
   hue_workflow = None
+  hue_coord = None
   workflow_graph = 'MISSING'  # default to prevent loading the graph tab for deleted workflows
   full_node_list = None