Skip to content

Commit

Permalink
retry pipeline always fail (kubeflow#3230) (kubeflow#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohanhuang authored and Jeffwan committed Dec 9, 2020
1 parent a032612 commit db6419d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/core/retry/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def random_failure_op(exit_codes):
name='random_failure',
image='python:alpine3.6',
command=['python', '-c'],
arguments=['import random; import sys; exit_code = random.choice(sys.argv[1].split(",")); print(exit_code); sys.exit(exit_code)', exit_codes]
arguments=['import random; import sys; exit_code = int(random.choice(sys.argv[1].split(","))); print(exit_code); sys.exit(exit_code)', exit_codes]
)


Expand Down

0 comments on commit db6419d

Please sign in to comment.