replace status string with go-tfe enum

This commit is contained in:
CJ Horton 2020-05-19 09:38:47 -07:00 committed by Martin Atkins
parent 0b2a8a5f64
commit 68f199fc76
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ func (b *Remote) costEstimate(stopCtx, cancelCtx context.Context, op *backend.Op
b.CLI.Output(b.Colorize().Color("Waiting for cost estimate to complete..." + elapsed + "\n"))
}
continue
case "skipped_due_to_targeting": // TEMP: not available in the go-tfe library yet; will update this to be tfe.CostEstimateSkippedDueToTargeting once that's available.
case tfe.CostEstimateSkippedDueToTargeting:
b.CLI.Output("Not available for this plan, because it was created with the -target option.")
b.CLI.Output("\n------------------------------------------------------------------------")
return nil