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