mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-28 18:50:36 +00:00
chore: linting
This commit is contained in:
parent
04fa44b4b6
commit
17dc452961
@ -357,9 +357,9 @@ func getTfoutPath() string {
|
|||||||
terraformDataDir := os.Getenv("TF_DATA_DIR")
|
terraformDataDir := os.Getenv("TF_DATA_DIR")
|
||||||
if terraformDataDir == ".terraform" || terraformDataDir == "" {
|
if terraformDataDir == ".terraform" || terraformDataDir == "" {
|
||||||
return "plan.tfout"
|
return "plan.tfout"
|
||||||
} else {
|
|
||||||
return fmt.Sprintf("%s.plan.tfout", terraformDataDir)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return fmt.Sprintf("%s.plan.tfout", terraformDataDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
func vars(vs map[string]string) []string {
|
func vars(vs map[string]string) []string {
|
||||||
|
Loading…
Reference in New Issue
Block a user