@@ -635,14 +635,14 @@ func authorizedTemplateVersionFromJob(ctx context.Context, q *querier, job datab
635
635
}
636
636
}
637
637
638
- func (q * querier ) UpdateWorkspaceDormantDeletingAtt (ctx context.Context , arg database.UpdateWorkspaceDormantDeletingAtParams ) (database.Workspace , error ) {
638
+ func (q * querier ) UpdateWorkspaceDormantDeletingAt (ctx context.Context , arg database.UpdateWorkspaceDormantDeletingAtParams ) (database.Workspace , error ) {
639
639
fetch := func (ctx context.Context , arg database.UpdateWorkspaceDormantDeletingAtParams ) (database.Workspace , error ) {
640
640
return q .db .GetWorkspaceByID (ctx , arg .ID )
641
641
}
642
642
return updateWithReturn (q .log , q .auth , fetch , q .db .UpdateWorkspaceDormantDeletingAt )(ctx , arg )
643
643
}
644
644
645
- func (q * querier ) UpdateWorkspacesLockedDeletingAtByTemplateID (ctx context.Context , arg database.UpdateWorkspacesDormantDeletingAtByTemplateIDParams ) error {
645
+ func (q * querier ) UpdateWorkspacesDormantDeletingAtByTemplateID (ctx context.Context , arg database.UpdateWorkspacesDormantDeletingAtByTemplateIDParams ) error {
646
646
fetch := func (ctx context.Context , arg database.UpdateWorkspacesDormantDeletingAtByTemplateIDParams ) (database.Template , error ) {
647
647
return q .db .GetTemplateByID (ctx , arg .TemplateID )
648
648
}
@@ -2651,10 +2651,6 @@ func (q *querier) UpdateWorkspaceDeletedByID(ctx context.Context, arg database.U
2651
2651
return deleteQ (q .log , q .auth , fetch , q .db .UpdateWorkspaceDeletedByID )(ctx , arg )
2652
2652
}
2653
2653
2654
- func (q * querier ) UpdateWorkspaceDormantDeletingAt (ctx context.Context , arg database.UpdateWorkspaceDormantDeletingAtParams ) (database.Workspace , error ) {
2655
- panic ("not implemented" )
2656
- }
2657
-
2658
2654
func (q * querier ) UpdateWorkspaceLastUsedAt (ctx context.Context , arg database.UpdateWorkspaceLastUsedAtParams ) error {
2659
2655
fetch := func (ctx context.Context , arg database.UpdateWorkspaceLastUsedAtParams ) (database.Workspace , error ) {
2660
2656
return q .db .GetWorkspaceByID (ctx , arg .ID )
@@ -2683,10 +2679,6 @@ func (q *querier) UpdateWorkspaceTTL(ctx context.Context, arg database.UpdateWor
2683
2679
return update (q .log , q .auth , fetch , q .db .UpdateWorkspaceTTL )(ctx , arg )
2684
2680
}
2685
2681
2686
- func (q * querier ) UpdateWorkspacesDormantDeletingAtByTemplateID (ctx context.Context , arg database.UpdateWorkspacesDormantDeletingAtByTemplateIDParams ) error {
2687
- panic ("not implemented" )
2688
- }
2689
-
2690
2682
func (q * querier ) UpsertAppSecurityKey (ctx context.Context , data string ) error {
2691
2683
// No authz checks as this is done during startup
2692
2684
return q .db .UpsertAppSecurityKey (ctx , data )
0 commit comments