Closed ash2k closed 2 years ago
/assign @seans3
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ash2k, seans3
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest
This started as a follow up for https://github.com/kubernetes-sigs/cli-utils/pull/430#issuecomment-953455611 to pass version to the mapper to construct a correctly versioned inventory client, but then I noticed that all the required information is already present in the
resource.Info
object. After that I got some failing tests and it turned out there was some duplication of functionality betweenInfoHelper
and the factory. I've replaced duplicated code with factory function invocation. I think it's a nice cleanup in the end.