pkg/flow/routing.go
Method flow.cronHandler
has 71 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (flow *flow) cronHandler(data []byte) {
ctx := context.Background()
t := time.Now().Truncate(time.Minute).UTC()
Method flow.cronHandler
has 8 return statements (exceeds 4 allowed). Open
Open
func (flow *flow) cronHandler(data []byte) {
ctx := context.Background()
t := time.Now().Truncate(time.Minute).UTC()
Method flow.configureWorkflowStarts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (flow *flow) configureWorkflowStarts(ctx context.Context, tx *database.SQLStore, nsID uuid.UUID, nsName string, file *filestore.File) error {