Skip to content

Commit

Permalink
changed to nil return
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobTanenbaum committed Aug 8, 2019
1 parent ceddb83 commit c6e2ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/configmap_ca_injector/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Add(mgr manager.Manager, status *statusmanager.StatusManager) error {

func newReconciler(mgr manager.Manager, status *statusmanager.StatusManager) reconcile.Reconciler {
if err := configv1.Install(mgr.GetScheme()); err != nil {
return &ReconcileConfigMapInjector{}
return nil
}

return &ReconcileConfigMapInjector{client: mgr.GetClient(), scheme: mgr.GetScheme(), status: status}
Expand Down

0 comments on commit c6e2ad0

Please sign in to comment.