mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
command: fix failing tests
This commit is contained in:
parent
d4a2010983
commit
2131e4ffd2
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (c *ApplyCommand) Run(args []string) int {
|
|||
c.Ui.Error(err.Error())
|
||||
return 1
|
||||
}
|
||||
if planned {
|
||||
if c.Destroy && planned {
|
||||
c.Ui.Error(fmt.Sprintf(
|
||||
"Destroy can't be called with a plan file."))
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue