Skip to content

Commit

Permalink
fix(cli): add missing query parameter (#4955)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux committed Feb 4, 2020
1 parent 6972662 commit 6f1e8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/cdsclient/client_workflow_as_code.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func (c *client) WorkflowTransformAsCode(projectKey, workflowName string) (*sdk.Operation, error) {
ope := new(sdk.Operation)
path := fmt.Sprintf("/project/%s/workflows/%s/ascode", projectKey, workflowName)
path := fmt.Sprintf("/project/%s/workflows/%s/ascode?migrate=true", projectKey, workflowName)
if _, err := c.PostJSON(context.Background(), path, nil, &ope); err != nil {
return nil, err
}
Expand Down

0 comments on commit 6f1e8ba

Please sign in to comment.