Skip to content

Commit

Permalink
clean up shell commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiahui-Zhang-20 committed Dec 5, 2023
1 parent 8bb2cab commit 85e29e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions k8s/errors/cronjob-late-maybe-error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@ spec:
sleep $((MINWAIT+RANDOM % (MAXWAIT-MINWAIT)))
sleep 3
r=$((RANDOM%2))
if [ $r -eq 0 ]; then echo Hello!; fi
if [ $r -eq 1 ]; then exit 1; fi
if [ $r -eq 0 ]; then echo Hello!; else exit 1; fi
restartPolicy: Never
3 changes: 1 addition & 2 deletions k8s/errors/cronjob-maybe-error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ spec:
- |
sleep 3
r=$((RANDOM%2))
if [ $r -eq 0 ]; then echo Hello!; fi
if [ $r -eq 1 ]; then exit 1; fi
if [ $r -eq 0 ]; then echo Hello!; else exit 1; fi
restartPolicy: Never

0 comments on commit 85e29e6

Please sign in to comment.