Filtering on the machines endpoint incorrectly filters on IsDisabled
#8916
Labels
kind/bug
This issue represents a verified problem we are committed to solving
Severity
Blocking some customers, no workaround available
Version
Didn't check earlier versions
Latest Version
I could reproduce the problem in the latest build
What happened?
When calling the Machines List endpoint and filtering by
IsDisabled
the results are incorrect when settingIsDisabled=false
.Reproduction
For my current test setup:
http://localhost:8066/api/Spaces-1/machines?skip=0&take=2147483647&isDisabled=false
returns all six targetshttp://localhost:8066/api/Spaces-1/machines?skip=0&take=2147483647&isDisabled=true
returns just the two disabled ones:Error and Stacktrace
More Information
This is affecting the use of the Target Datasources in Terraform
OctopusDeployLabs/terraform-provider-octopusdeploy#624
Workaround
Filter on the client side, if possible.
The text was updated successfully, but these errors were encountered: