Instead of asking for all the GARM instances from the API, and then filtering them by `poolID`, we can ask the API to return only the instances that are in the `poolID` pool. Therefore, we only need to count the instances that are running and idle. Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com> |
||
|---|---|---|
| .. | ||
| config | ||
| e2e | ||
| gh_cleanup | ||
| scripts | ||
| main.go | ||