Browse Source

[oozie] Fix refresh or workflow started by coordinator in dashboard

Romain Rigaux 12 years ago
parent
commit
3d0aab2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/oozie/src/oozie/views/dashboard.py

+ 2 - 2
apps/oozie/src/oozie/views/dashboard.py

@@ -498,9 +498,9 @@ def massaged_workflow_actions_for_json(workflow_actions, oozie_coordinator, oozi
 
   for action in workflow_actions:
     if oozie_coordinator is not None:
-      setattr(action, 'oozie_coordinator', oozie_coordinator.id)
+      setattr(action, 'oozie_coordinator', oozie_coordinator)
     if oozie_bundle is not None:
-      setattr(action, 'oozie_bundle', oozie_bundle.id)
+      setattr(action, 'oozie_bundle', oozie_bundle)
 
     massaged_action = {
       'id': action.id,