-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
After upgrading to latest version 5.4.0, I can't get PipelineID from ReviewAppConfig struct:
h := heroku.NewService(heroku.DefaultClient)
reviewAppConfig, err := h.ReviewAppConfigInfo(context.TODO(), "PIPELINE-ID")
if err != nil {
log.Fatal(err)
}
fmt.Println(reviewAppConfig.PipelineID)This print an empty value.
I have made a call to Heroku API and it seems the pipeline ID is returned as an object but the field PipelineID in the ReviewAppConfig struct was modified here to be a string.
curl -nX GET https://api.heroku.com/pipelines/PIPELINE-ID/review-app-config \
-H "Accept: application/vnd.heroku+json; version=3" Response:
{
...
"pipeline": {
"id": "PIPELINE-ID"
},
...
}Metadata
Metadata
Assignees
Labels
No labels