feat: v2 data engine live upgrade #3282
52 issues fixed. 5 issues found.
Annotations
Check notice on line 3225 in controller/volume_controller.go
codefactor-io / CodeFactor
controller/volume_controller.go#L3225
If block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (indent-error-flow)
Check notice on line 2707 in controller/engine_controller.go
codefactor-io / CodeFactor
controller/engine_controller.go#L2707
Redefinition of the built-in function new. (redefines-builtin-id)
Check notice on line 2679 in controller/engine_controller.go
codefactor-io / CodeFactor
controller/engine_controller.go#L2679
Redefinition of the built-in function new. (redefines-builtin-id)
Check notice on line 3212 in controller/volume_controller.go
codefactor-io / CodeFactor
controller/volume_controller.go#L3212
If block ends with a return statement, so drop this else and outdent its block. (indent-error-flow)
Check notice on line 3957 in datastore/longhorn.go
codefactor-io / CodeFactor
datastore/longhorn.go#L3957
Redefinition of the built-in function min. (redefines-builtin-id)