Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamp8 committed Jul 23, 2020
1 parent b1c6499 commit 6c374b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: example-celery-obj
spec:
common:
appName: celery-example
appName: celery-crd-example
celeryApp: 'app:celery_app'
image: example-image
workerSpec:
Expand Down
2 changes: 1 addition & 1 deletion example/run_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
add.delay(10, 20)
add.delay(100, 20)
i += 1
if i == 1000:
if i == 10000:
break
1 change: 0 additions & 1 deletion handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def create_fn(spec, name, namespace, logger, **kwargs):
"""
Celery custom resource creation handler
"""
children_count = 0

# 1. Validation of spec
val, err_msg = validate_spec(spec)
Expand Down

0 comments on commit 6c374b4

Please sign in to comment.