We were treating workers as deployment targets, and trying to retrieve them from the /api/machines endpoint. They actually live under the /api/workers endpoint.
This also forces the Get-WorkerPoolMembership function to return an array, in an attempt to fix #245.
We were treating workers as deployment targets, and trying to retrieve them from the
/api/machines
endpoint. They actually live under the/api/workers
endpoint. This also forces theGet-WorkerPoolMembership
function to return an array, in an attempt to fix #245.Maybe fixes #245