Skip to content

Commit bfaaddd

Browse files
committed
Make Backend method return diagnostics, so warnings aren't swallowed.
1 parent 9bd8109 commit bfaaddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/meta_backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (m *Meta) Backend(opts *BackendOpts) (backendrun.OperationsBackend, tfdiags
240240
}
241241
}
242242

243-
return local, nil
243+
return local, diags
244244
}
245245

246246
// selectWorkspace gets a list of existing workspaces and then checks

0 commit comments

Comments
 (0)