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

Add a valid action to error message

This commit is contained in:
Jacob McCann 2018-02-14 09:59:18 -06:00
parent 3e6f75540f
commit 42a10997d5

View File

@ -91,7 +91,7 @@ func (p Plugin) Exec() error {
commands = append(commands, tfPlan(p.Config, true)) commands = append(commands, tfPlan(p.Config, true))
commands = append(commands, tfDestroy(p.Config)) commands = append(commands, tfDestroy(p.Config))
default: default:
return fmt.Errorf("valid actions are: validate, plan, apply, destroy. You provided %s", action) return fmt.Errorf("valid actions are: validate, plan, apply, plan-destroy, destroy. You provided %s", action)
} }
} }