++ #7
Annotations
10 errors and 2 warnings
|
Lint:
internal/handlers/api.go#L17
Function 'GetAPIDoc' is too long (155 > 100) (funlen)
|
|
Lint:
internal/storage/local_strategy.go#L83
G304: Potential file inclusion via variable (gosec)
|
|
Lint:
internal/storage/local_strategy.go#L53
G304: Potential file inclusion via variable (gosec)
|
|
Lint:
internal/config/config.go#L161
G301: Expect directory permissions to be 0750 or less (gosec)
|
|
Lint:
internal/logger/logger.go#L40
G304: Potential file inclusion via variable (gosec)
|
|
Lint:
internal/logger/logger.go#L33
G301: Expect directory permissions to be 0750 or less (gosec)
|
|
Lint:
internal/handlers/storage.go#L146
cyclomatic complexity 22 of func `(*StorageHandler).UpdateStorageConfig` is high (> 15) (gocyclo)
|
|
Lint:
internal/config/config.go#L296
cyclomatic complexity 40 of func `(*Config).LoadFromDatabase` is high (> 15) (gocyclo)
|
|
Lint:
internal/handlers/storage.go#L186
Error return value of `sh.storageManager.ReconfigureWebDAV` is not checked (errcheck)
|
|
Lint:
internal/handlers/share.go#L140
Error return value of `h.service.UpdateFileUsage` is not checked (errcheck)
|
|
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>05ceyaAAAAAAbNQRNe7pyQZCjzAUqra/eQ0hJMzBFREdFMDQxMABFZGdl
|
|
Lint
Failed to restore: Cache service responded with 400
|