Skip to content

Commit 01256ce

Browse files
committed
another deprecation notice
1 parent 0c7247c commit 01256ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codersdk/workspaces.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ func (c *Client) UpdateWorkspaceUsageWithBodyContext(ctx context.Context, worksp
406406
// with the given id in the background.
407407
// The caller is responsible for calling the returned function to stop the background
408408
// process.
409+
// Deprecated: use UpdateWorkspaceUsageContextWithBody instead
409410
func (c *Client) UpdateWorkspaceUsageContext(ctx context.Context, workspaceID uuid.UUID) func() {
410411
hbCtx, hbCancel := context.WithCancel(ctx)
411412
// Perform one initial update

0 commit comments

Comments
 (0)