mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
update: fixed issues where workspace template version labels were not being correctly set/got. Also updated generic server endpoints with new logic
This commit is contained in:
@@ -179,13 +179,6 @@ func (s *WorkflowServer) GetWorkflowExecution(ctx context.Context, req *api.GetW
|
||||
return nil, err
|
||||
}
|
||||
|
||||
mappedLabels, err := client.GetDBLabelsMapped(v1.TypeWorkflowExecution, wf.ID)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if labels, ok := mappedLabels[wf.ID]; ok {
|
||||
wf.Labels = labels
|
||||
}
|
||||
wf.Namespace = req.Namespace
|
||||
|
||||
webRouter, err := client.GetWebRouter()
|
||||
|
Reference in New Issue
Block a user