Procházet zdrojové kódy

HUE-3101 [oozie] Add decision nodes to the Actions tab in Workflow dashboard page

krish před 9 roky
rodič
revize
00f2d5f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      desktop/libs/liboozie/src/liboozie/types.py

+ 1 - 1
desktop/libs/liboozie/src/liboozie/types.py

@@ -87,7 +87,7 @@ class ControlFlowAction(Action):
 
   @classmethod
   def is_control_flow(self, action_type):
-    return action_type is not None and ( ':' in action_type or action_type == 'switch' )
+    return action_type is not None and (':' in action_type)
 
   def _fixup(self):
     """