You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (element["name"] ==nameandelement["repository"]["platform"] ==repository_platform):
). However, that includes archived and unarchived workflows.
If, by chance, the first ID corresponds to an archived workflow, that will produce an error in the send_job function as, in this case, the API only accepts non-archived workflows.
The solution is to add an additional control in this if (
When
cloudos-cli
looks for the workflow ID, it just retrieves the first ID with the specified workflow name (see here:cloudos-cli/cloudos/jobs/job.py
Line 142 in 5d714e3
If, by chance, the first ID corresponds to an archived workflow, that will produce an error in the
send_job
function as, in this case, the API only accepts non-archived workflows.The solution is to add an additional control in this
if
(cloudos-cli/cloudos/jobs/job.py
Line 142 in 5d714e3
cloudos-cli/cloudos/jobs/job.py
Line 134 in 5d714e3
The text was updated successfully, but these errors were encountered: