Explorar o código

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

krish %!s(int64=9) %!d(string=hai) anos
pai
achega
00f2d5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):
     """