Skip to content

Commit f564aba

Browse files
change rollout endpoint
1 parent 60310a3 commit f564aba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.24.0
1+
0.24.1

pkg/codefresh/gitops.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (a *gitops) CreateEnvironment(name string, project string, application stri
147147

148148
func (a *gitops) SendEnvironment(environment Environment) (map[string]interface{}, error) {
149149
var result map[string]interface{}
150-
resp, err := a.codefresh.requestAPI(&requestOptions{method: "POST", path: "/api/environments-v2/argo/events", body: environment})
150+
resp, err := a.codefresh.requestAPI(&requestOptions{method: "POST", path: "/api/gitops/rollout", body: environment})
151151
if err != nil {
152152
return nil, err
153153
}

0 commit comments

Comments
 (0)