operator/schedulecontroller/handler.go

Summary

Maintainability
A
45 mins
Test Coverage

Method ScheduleHandler.createJobList has 7 return statements (exceeds 4 allowed).
Open

func (s *ScheduleHandler) createJobList(ctx context.Context) error {
    type objectInstantiator struct {
        spec k8upv1.ScheduleSpecInterface
        ctor func(spec k8upv1.ScheduleSpecInterface) k8upv1.JobObject
    }
Severity: Major
Found in operator/schedulecontroller/handler.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status