Skip to content

Commit

Permalink
fix: api ee endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
claywd committed Oct 17, 2023
1 parent 8117ed0 commit b14a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/environments/defaultEnvironments.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func callApiEE(goPayload types.WorkloadClusterSet) error {
return err
}

req, err := http.NewRequest(http.MethodPost, fmt.Sprintf("%s/api/v1", KubefirstApiEe), bytes.NewReader(payload))
req, err := http.NewRequest(http.MethodPost, fmt.Sprintf("%s/api/v1/environments%s", KubefirstApiEe, goPayload.Clusters[0].ClusterID), bytes.NewReader(payload))
if err != nil {
log.Errorf("error creating http request %s", err)
return err
Expand Down

0 comments on commit b14a7dc

Please sign in to comment.