Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: wire up metal-go for HTTP debug logging
At some point I switched the metal-go client creation function to use `logging.NewSubsystemLoggingHTTPTransport` instead of the deprecated `logging.NewTransport` that is used elsewhere. However, I missed that `logging.NewSubsystemLoggingHTTPTransport` requires creating a subsystem first; since I didn't create a new subsystem, the metal-go HTTP debug logs were silently dropped. This reverts to the `logging.NewTransport` to fix logging and match how we set up other clients. We can explicitly work on dropping use of the deprecated function at a later time.
- Loading branch information