containerized-data-importer
containerized-data-importer copied to clipboard
Use ptr instead of pointer and update code that now can use ptr as well
Is your feature request related to a problem? Please describe: In this pr: https://github.com/kubevirt/containerized-data-importer/pull/3009 I needed to upgrade pointer to ptr, I replaced the parts usinf directly pointer. Now as a next step we can reduce code in other places by using ptr.
Describe the solution you'd like:
like here:
And @nunnatsa started a tool to identify the places in the code we need to update: https://github.com/nunnatsa/redundantptr
Describe alternatives you've considered: The current state is an alternative but we prefer to reduce code .
Additional context: This issue discussed with @akalenyu.