Skip to content

Commit

Permalink
code cleanup + no param mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtehrani committed Jan 12, 2021
1 parent 1355f80 commit 1d0c898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/workflow_execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateID uint64, wor
if reErr != nil {
return nil, reErr
}
*param.Value = re.ReplaceAllString(*param.Value, namespace)
*param.Value = re.ReplaceAllString(*param.Value, namespace)
value := re.ReplaceAllString(*param.Value, namespace)
param.Value = &value
}

newParameters = append(newParameters, param)
Expand Down

0 comments on commit 1d0c898

Please sign in to comment.