Skip to content

Commit e834160

Browse files
authored
rm commented code
1 parent 9f37134 commit e834160

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

coderd/workspaces.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ func (api *API) postWorkspacesByOrganization(rw http.ResponseWriter, r *http.Req
310310
return
311311
}
312312

313-
// if !dbTTL.Valid {
314-
// Default to min(12 hours, template maximum). Just defaulting to template maximum can be surprising.
315-
// dbTTL = sql.NullInt64{Valid: true, Int64: min(template.MaxTtl, int64(workspaceDefaultTTL))}
316-
// }
317313

318314
workspace, err := api.Database.GetWorkspaceByOwnerIDAndName(r.Context(), database.GetWorkspaceByOwnerIDAndNameParams{
319315
OwnerID: apiKey.UserID,

0 commit comments

Comments
 (0)