checkmetrics: Fix some lint and fmt warnings
checkmetrics: Fix some lint and fmt warnings

There were some dangling 'gofmt' and go-static-check lint type
warnings - fix them up whilst we are here.

Signed-off-by: Graham Whaley <95f36e5ac6982f4574a5c449c37cf652e934d2b9@intel.com>

chavafg/tests,devimc/tests,clearcontainers/tests,clearcontainers/tests,chavafg/tests,devimc/tests