Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Only converge on wing when not in infrastructure only
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshVanL committed Sep 6, 2018
1 parent 35fe622 commit 6fbf148
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/tarmak/terraform.go
Expand Up @@ -77,12 +77,12 @@ func (t *Tarmak) CmdTerraformApply(args []string, ctx context.Context) error {
if err != nil {
return err
}
}

// wait for convergance in every mode
err := t.Cluster().WaitForConvergance()
if err != nil {
return err
// wait for convergance not in infrastructure only
err := t.Cluster().WaitForConvergance()
if err != nil {
return err
}
}

return nil
Expand Down

0 comments on commit 6fbf148

Please sign in to comment.