mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-23 21:43:07 +08:00
TODO on parameters
This commit is contained in:
@@ -67,6 +67,7 @@ func (r *ResourceManager) GetWorkflow(namespace, name string) (workflow *model.W
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Do we need to parse parameters into workflow.Parameters?
|
||||||
status, err := json.Marshal(wf.Status)
|
status, err := json.Marshal(wf.Status)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, util.NewUserError(codes.InvalidArgument, "Invalid status.")
|
return nil, util.NewUserError(codes.InvalidArgument, "Invalid status.")
|
||||||
|
Reference in New Issue
Block a user