Skip to content

Commit 2cbc577

Browse files
committed
replace string with go-tfe status enum
1 parent d57c641 commit 2cbc577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/remote/backend_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func (b *Remote) costEstimate(stopCtx, cancelCtx context.Context, op *backend.Op
316316
b.CLI.Output(b.Colorize().Color("Waiting for cost estimate to complete..." + elapsed + "\n"))
317317
}
318318
continue
319-
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.
319+
case tfe.CostEstimateSkippedDueToTargeting:
320320
b.CLI.Output("Not available for this plan, because it was created with the -target option.")
321321
b.CLI.Output("\n------------------------------------------------------------------------")
322322
return nil

0 commit comments

Comments
 (0)