As reported in #41 when trying to parse the Description field as JSON it was returning an error if it failed, blocking the programs to continue listing the unused disks. This PR pass down a logger (logfmt.Logger more specifically) and emits a log line instead of returning an error.
As reported in #41 when trying to parse the
Description
field as JSON it was returning an error if it failed, blocking the programs to continue listing the unused disks. This PR pass down a logger (logfmt.Logger
more specifically) and emits a log line instead of returning an error.