Skip to content

Commit

Permalink
fix(tf): ignore workspace only for default
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Dec 1, 2024
1 parent b8529b5 commit 9e92907
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions db_lib/TerraformApp.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@ func (t *TerraformApp) InstallRequirements(environmentVars *[]string) (err error
return
}

if !t.isWorkspacesSupported(environmentVars) {
return
}

workspace := "default"

if t.Inventory.Inventory != "" {
workspace = t.Inventory.Inventory
}

if workspace == "default" && !t.isWorkspacesSupported(environmentVars) {
return
}

err = t.selectWorkspace(workspace, environmentVars)
return
}
Expand Down

0 comments on commit 9e92907

Please sign in to comment.