Skip to content

Commit f07cccc

Browse files
committed
go vet
1 parent b564de6 commit f07cccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/workspaces.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,12 +908,12 @@ func claimPrebuild(
908908
now time.Time,
909909
name string,
910910
owner workspaceOwner,
911-
templateVersionPresetID uuid.UUID
911+
templateVersionPresetID uuid.UUID,
912912
autostartSchedule sql.NullString,
913913
nextStartAt sql.NullTime,
914914
ttl sql.NullInt64,
915915
) (*database.Workspace, error) {
916-
claimedID, err := claimer.Claim(ctx, now, owner.ID, req.Name, req.TemplateVersionPresetID, autostartSchedule, nextStartAt, ttl)
916+
claimedID, err := claimer.Claim(ctx, now, owner.ID, name, templateVersionPresetID, autostartSchedule, nextStartAt, ttl)
917917
if err != nil {
918918
// TODO: enhance this by clarifying whether this *specific* prebuild failed or whether there are none to claim.
919919
return nil, xerrors.Errorf("claim prebuild: %w", err)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy