Azure/ARO-RP

Standardize creation of dynamichelper.Interface in pkg/operator

nilsanderselde opened this issue · 1 comments

Most of the controllers in the ARO operator that use dynamichelper.Interface use one that is passed in from cmd/aro/operator.go.

However, there are a couple places where dh is created later:

In these places, if we ever really had to create dh later (might have been copy/paste or just inconsistency), do we still have to?

Or, conversely, should we always create dh at the lowest scope possible?

Issue was resolved with this PR: #1602