feat: support mcs #1293
Annotations
10 errors
lint:
pkg/controllers/mcs/service_export_controller.go#L137
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
|
lint:
pkg/controllers/mcs/service_export_controller.go#L163
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
|
lint:
pkg/controllers/mcs/service_import_controller.go#L119
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
|
lint:
pkg/controllers/mcs/service_export_controller.go#L137
S1034: assigning the result of this type assertion to a variable (switch obj := obj.(type)) could eliminate type assertions in switch cases (gosimple)
|
lint:
pkg/controllers/mcs/service_export_controller.go#L139
S1034(related information): could eliminate this type assertion (gosimple)
|
lint:
pkg/controllers/mcs/service_export_controller.go#L163
S1034: assigning the result of this type assertion to a variable (switch obj := obj.(type)) could eliminate type assertions in switch cases (gosimple)
|
lint:
pkg/controllers/mcs/service_export_controller.go#L165
S1034(related information): could eliminate this type assertion (gosimple)
|
lint:
pkg/controllers/mcs/service_import_controller.go#L119
S1034: assigning the result of this type assertion to a variable (switch obj := obj.(type)) could eliminate type assertions in switch cases (gosimple)
|
lint:
pkg/controllers/mcs/service_import_controller.go#L121
S1034(related information): could eliminate this type assertion (gosimple)
|
lint
issues found
|