Explorar o código

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

Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
ea996ac
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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