increase column size to 63 for cron workflows and workflo executions

This commit is contained in:
rushtehrani
2020-05-22 17:26:58 -07:00
parent b57ffe8f71
commit 3ebd7ab245
7 changed files with 26 additions and 11 deletions

View File

@@ -280,7 +280,7 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateId uint64, wor
return 0, nil, err
}
uid, err := uid2.GenerateUID(createdWorkflow.Name)
uid, err := uid2.GenerateUID(createdWorkflow.Name, 63)
if err != nil {
return 0, nil, err
}
@@ -344,7 +344,7 @@ func (c *Client) CreateWorkflowExecution(namespace string, workflow *WorkflowExe
Labels: &map[string]string{},
Parameters: workflow.Parameters,
}
opts.GenerateName, err = uid2.GenerateUID(workflowTemplate.Name)
opts.GenerateName, err = uid2.GenerateUID(workflowTemplate.Name, 63)
if err != nil {
return nil, err
}