Skip to content

Commit

Permalink
Merge pull request #156 from stefanprodan/fail-fast
Browse files Browse the repository at this point in the history
Fail fast when waiting for resources
  • Loading branch information
stefanprodan authored Jul 31, 2023
2 parents 303c736 + 668b168 commit 3e99a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/timoni/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func runApplyCmd(cmd *cobra.Command, args []string) error {
waitOptions := ssa.WaitOptions{
Interval: 5 * time.Second,
Timeout: rootArgs.timeout,
FailFast: true,
}

for _, set := range applySets {
Expand Down
1 change: 1 addition & 0 deletions cmd/timoni/bundle_apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ func applyBundleInstance(ctx context.Context, cuectx *cue.Context, instance engi
waitOptions := ssa.WaitOptions{
Interval: 5 * time.Second,
Timeout: rootArgs.timeout,
FailFast: true,
}

for _, set := range bundleApplySets {
Expand Down

0 comments on commit 3e99a60

Please sign in to comment.