Skip to content

Commit 857c07b

Browse files
committed
fix: Make error message more generic, so is applicable to backend and cloud blocks.
1 parent 29ee266 commit 857c07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/meta_backend_errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type errWrongWorkspaceForPlan struct {
1717
}
1818

1919
func (e *errWrongWorkspaceForPlan) Error() string {
20-
return fmt.Sprintf(`The plan file describes changes to the %q workspace, but the %q workspace is currently selected in the working directory.
20+
return fmt.Sprintf(`The plan file describes changes to the %q workspace, but the %q workspace is currently in use.
2121
2222
Applying this plan with the incorrect workspace selected could result in state being stored in an unexpected location, or a downstream error
2323
when Terraform attempts apply a plan using the other workspace's state.

0 commit comments

Comments
 (0)