diff --git a/VERSION b/VERSION index 48b91fd..8b95abd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.24.1 +0.24.2 diff --git a/pkg/codefresh/gitops.go b/pkg/codefresh/gitops.go index 7f2e210..1eeed79 100644 --- a/pkg/codefresh/gitops.go +++ b/pkg/codefresh/gitops.go @@ -146,19 +146,11 @@ func (a *gitops) CreateEnvironment(name string, project string, application stri } func (a *gitops) SendEnvironment(environment Environment) (map[string]interface{}, error) { - var result map[string]interface{} - resp, err := a.codefresh.requestAPI(&requestOptions{method: "POST", path: "/api/gitops/rollout", body: environment}) + _, err := a.codefresh.requestAPI(&requestOptions{method: "POST", path: "/api/gitops/rollout", body: environment}) if err != nil { return nil, err } - - err = a.codefresh.decodeResponseInto(resp, &result) - - if err != nil { - return nil, err - } - - return result, nil + return nil, nil } func (a *gitops) DeleteEnvironment(name string) error {