remove duplicate remote output line
Signed-off-by: Paul Thrasher <pthrasher@hashicorp.com>
This commit is contained in:
parent
bb12206bca
commit
0e27a8862f
|
@ -276,7 +276,7 @@ func (b *Remote) costEstimation(stopCtx, cancelCtx context.Context, op *backend.
|
||||||
|
|
||||||
switch ce.Status {
|
switch ce.Status {
|
||||||
case tfe.CostEstimationFinished:
|
case tfe.CostEstimationFinished:
|
||||||
if r.HasChanges && op.Type == backend.OperationTypeApply || b.CLI != nil {
|
if len(r.PolicyChecks) == 0 && r.HasChanges && op.Type == backend.OperationTypeApply && b.CLI != nil {
|
||||||
b.CLI.Output("\n------------------------------------------------------------------------")
|
b.CLI.Output("\n------------------------------------------------------------------------")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue