Skip to content

Commit 471d3e8

Browse files
committed
chore: update error message
1 parent a4b2e8d commit 471d3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func (q *querier) authorizePrebuiltWorkspace(ctx context.Context, action policy.
169169
if prebuiltErr = q.authorizeContext(ctx, action, workspace.AsPrebuild()); prebuiltErr == nil {
170170
return nil
171171
}
172-
return xerrors.Errorf("authorize context: %w", errors.Join(workspaceErr, prebuiltErr))
172+
return xerrors.Errorf("authorize context as prebuild: %w", errors.Join(workspaceErr, prebuiltErr))
173173
}
174174

175175
return xerrors.Errorf("authorize context: %w", errors.Join(workspaceErr))

0 commit comments

Comments
 (0)