Преглед изворни кода

HUE-2753 [core] Add script to cleanup history in oozie and beeswax tables

Chris Conner пре 10 година
родитељ
комит
e1993edc2d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tools/ops/hue_history_cron.sh

+ 1 - 1
tools/ops/hue_history_cron.sh

@@ -82,7 +82,7 @@ log.info("Looping through workflows")
 for w in workflows:
    w.delete(skip_trash=True)
    loopCount += 1
-   if (loopCount == maxCount):
+   if loopCount == maxCount:
       totalWorkflows = totalWorkflows - maxCount
       loopCount = 1
       log.info("workflows left: %s" % totalWorkflows)