Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Scheduler not started error returned incorrectly from createTask #1136

@IRCody

Description

@IRCody

In scheduler.createTask

    // Generate a workflow from the workflow map
    wf, err := wmapToWorkflow(wfMap)
    if err != nil {
        te.errs = append(te.errs, serror.New(err))
        f := buildErrorsLog(te.Errors(), logger)
        f.Error(ErrSchedulerNotStarted.Error())
        return nil, te
    }

ErrSchedulerNotStarted is returned incorrectly. I'm not sure exactly what the error should be but it should be related to parsing the wmap into a workflow since that is what is triggering the error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions