File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,10 @@ var (
36
36
ttlMin = time .Minute //nolint:revive // min here means 'minimum' not 'minutes'
37
37
ttlMax = 7 * 24 * time .Hour
38
38
39
- errTTLMin = xerrors .New ("time until shutdown must be at least one minute" )
40
- errTTLMax = xerrors .New ("time until shutdown must be less than 7 days" )
41
- errDeadlineTooSoon = xerrors .New ("new deadline must be at least 30 minutes in the future" )
42
- errDeadlineBeforeStart = xerrors .New ("new deadline must be before workspace start time" )
43
- errDeadlineOverTemplateMax = xerrors .New ("new deadline is greater than template allows" )
39
+ errTTLMin = xerrors .New ("time until shutdown must be at least one minute" )
40
+ errTTLMax = xerrors .New ("time until shutdown must be less than 7 days" )
41
+ errDeadlineTooSoon = xerrors .New ("new deadline must be at least 30 minutes in the future" )
42
+ errDeadlineBeforeStart = xerrors .New ("new deadline must be before workspace start time" )
44
43
)
45
44
46
45
func (api * API ) workspace (rw http.ResponseWriter , r * http.Request ) {
You can’t perform that action at this time.
0 commit comments