util: correct interface name and remove redundancy

ContollerManager had a typo in it, and if we correct it,
linter  will fail and suggest not to use controller.ControllerManager
as the interface name and package name  is redundant, keeping manager
as the interface name which is the practice and also address the
linter issues.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2021-08-18 09:46:11 +05:30
committed by mergify[bot]
parent 763387c8e2
commit 9ac1391d0f
2 changed files with 5 additions and 5 deletions

View File

@ -45,8 +45,8 @@ type ReconcilePersistentVolume struct {
}
var (
_ reconcile.Reconciler = &ReconcilePersistentVolume{}
_ ctrl.ContollerManager = &ReconcilePersistentVolume{}
_ reconcile.Reconciler = &ReconcilePersistentVolume{}
_ ctrl.Manager = &ReconcilePersistentVolume{}
)
// Init will add the ReconcilePersistentVolume to the list.