hh/detect-stale-powered-off-vms janitor: remove some old code

The totalVMs count is always going to be the same as the length of vms,
and it's only used for the metric, so keeping it in a variable is
unnecessary.

The vmErrors slice is only appended to, not used anywhere.

Sarah Hodne avatar Sarah Hodne

Push event #58 passed

  • Ran for
AMD64
no language set
Git