File tree Expand file tree Collapse file tree 5 files changed +2
-17
lines changed Expand file tree Collapse file tree 5 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ const (
76
76
)
77
77
78
78
var (
79
- // ErrUserNotKeyOwner user does not own this key error
80
- ErrUserNotKeyOwner = errors .New ("User does not own this public key" )
81
-
82
79
// ErrEmailNotExist e-mail does not exist error
83
80
ErrEmailNotExist = errors .New ("E-mail does not exist" )
84
81
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ package process
8
8
import (
9
9
"bytes"
10
10
"context"
11
- "errors"
12
11
"fmt"
13
12
"io"
14
13
"os/exec"
@@ -22,10 +21,8 @@ import (
22
21
// then we delete the singleton.
23
22
24
23
var (
25
- // ErrExecTimeout represent a timeout error
26
- ErrExecTimeout = errors .New ("Process execution timeout" )
27
- manager * Manager
28
- managerInit sync.Once
24
+ manager * Manager
25
+ managerInit sync.Once
29
26
30
27
// DefaultContext is the default context to run processing commands in
31
28
DefaultContext = context .Background ()
Original file line number Diff line number Diff line change @@ -318,7 +318,6 @@ var (
318
318
LogRootPath string
319
319
DisableRouterLog bool
320
320
RouterLogLevel log.Level
321
- RouterLogMode string
322
321
EnableAccessLog bool
323
322
AccessLogTemplate string
324
323
EnableXORMLog bool
@@ -408,10 +407,6 @@ var (
408
407
IsWindows bool
409
408
HasRobotsTxt bool
410
409
InternalToken string // internal access token
411
-
412
- // UILocation is the location on the UI, so that we can display the time on UI.
413
- // Currently only show the default time.Local, it could be added to app.ini after UI is ready
414
- UILocation = time .Local
415
410
)
416
411
417
412
// IsProd if it's a production mode
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ import (
19
19
var (
20
20
// ErrURLNotSupported represents url is not supported
21
21
ErrURLNotSupported = errors .New ("url method not supported" )
22
- // ErrIterateObjectsNotSupported represents IterateObjects not supported
23
- ErrIterateObjectsNotSupported = errors .New ("iterateObjects method not supported" )
24
22
)
25
23
26
24
// ErrInvalidConfiguration is called when there is invalid configuration for a storage
Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ const (
52
52
)
53
53
54
54
var (
55
- // ErrTooManyFiles upload too many files
56
- ErrTooManyFiles = errors .New ("Maximum number of files to upload exceeded" )
57
55
// IssueTemplateCandidates issue templates
58
56
IssueTemplateCandidates = []string {
59
57
"ISSUE_TEMPLATE.md" ,
You can’t perform that action at this time.
0 commit comments