command: fix failing tests
This commit is contained in:
parent
d4a2010983
commit
2131e4ffd2
|
@ -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 New Issue