0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-24 23:30:39 +00:00

chore: linting

This commit is contained in:
Jacob McCann 2019-11-26 08:56:24 -06:00
parent 04fa44b4b6
commit 17dc452961
No known key found for this signature in database
GPG Key ID: B5A476DE32B9AE72

View File

@ -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 {