feat: added visibility to parameters

This commit is contained in:
Andrey Melnikov
2020-07-30 12:52:03 -07:00
parent e99e66590a
commit fc89727b80
6 changed files with 30 additions and 5 deletions

View File

@@ -26,6 +26,9 @@ func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate {
if p.Value != nil {
ap.Value = *p.Value
}
if p.Visibility != nil {
ap.Visibility = *p.Visibility
}
aParams = append(aParams, &ap)
}