You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We get this error:
"json: cannot unmarshal number into Go struct field ReleaseSchedule.environments.schedules.daysToRelease of type release.ScheduleDays"
Returned from:
releaseDefinitionObject, err := releaseClient.GetReleaseDefinition(ctx,
getReleaseDefinitionArgs)
if err != nil {
log.Fatal(err)
}
I confirm this one
The library uses string names like "none", "Monday", "tuesday", "all", but in actual response from API we get both numbers and string numbers like 42 or "127"
When using this config in Azure DevOps:
![bilde](https://user-images.githubusercontent.com/30659197/99678572-3dbbe480-2a7b-11eb-9227-bb3a3d1058bd.png)
We get this error:
"json: cannot unmarshal number into Go struct field ReleaseSchedule.environments.schedules.daysToRelease of type release.ScheduleDays"
Returned from:
releaseDefinitionObject, err := releaseClient.GetReleaseDefinition(ctx,
getReleaseDefinitionArgs)
if err != nil {
log.Fatal(err)
}
Its this function that is throwing the error:
azure-devops-go-api/azuredevops/client.go
Line 295 in 09c8cad
And it is used by the function:
azure-devops-go-api/azuredevops/release/client.go
Line 682 in 09c8cad
The text was updated successfully, but these errors were encountered: