8000 fix(cli): add missing query parameter (#4955) · ovh/cds@6f1e8ba · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 6f1e8ba

Browse files
authored
fix(cli): add missing query parameter (#4955)
1 parent 6972662 commit 6f1e8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/cdsclient/client_workflow_as_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

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

0 commit comments

Comments
 (0)
0