From fdbfbaac3396432aa37d815878a578043184a3af Mon Sep 17 00:00:00 2001 From: Gireesh Punathil Date: Tue, 4 Aug 2020 17:33:19 +0530 Subject: [PATCH] fix a typo in the comment --- pkg/kubelet/pluginmanager/reconciler/reconciler.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/kubelet/pluginmanager/reconciler/reconciler.go b/pkg/kubelet/pluginmanager/reconciler/reconciler.go index bd43f295d8a..2f12da55065 100644 --- a/pkg/kubelet/pluginmanager/reconciler/reconciler.go +++ b/pkg/kubelet/pluginmanager/reconciler/reconciler.go @@ -33,15 +33,15 @@ import ( // Reconciler runs a periodic loop to reconcile the desired state of the world // with the actual state of the world by triggering register and unregister -// operations. +// operations. Also provides a means to add a handler for a plugin type. type Reconciler interface { - // Starts running the reconciliation loop which executes periodically, checks - // if plugins that should be registered are register and plugins that should be - // unregistered are unregistered. If not, it will trigger register/unregister - // operations to rectify. + // Run starts running the reconciliation loop which executes periodically, + // checks if plugins are correctly registered or unregistered. + // If not, it will trigger register/unregister operations to rectify. Run(stopCh <-chan struct{}) - // AddHandler adds the given plugin handler for a specific plugin type + // AddHandler adds the given plugin handler for a specific plugin type, + // which will be added to the actual state of world cache. AddHandler(pluginType string, pluginHandler cache.PluginHandler) }