Apply suggestions from code review

Typos and punctuation fixes.

Co-Authored-By: Pires <1752631+pires@users.noreply.github.com>
This commit is contained in:
Brian Goff
2019-10-24 07:42:21 -07:00
parent 4ee2c4d370
commit 31c8fbaa41
3 changed files with 16 additions and 16 deletions

View File

@@ -74,7 +74,7 @@ type PodLifecycleHandler interface {
GetPods(context.Context) ([]*corev1.Pod, error)
}
// PodNotifier is used as an extenstion to PodLifecycleHandler to support async updates of pod statues.
// PodNotifier is used as an extension to PodLifecycleHandler to support async updates of pod statuses.
type PodNotifier interface {
// NotifyPods instructs the notifier to call the passed in function when
// the pod status changes. It should be called when a pod's status changes.
@@ -160,7 +160,7 @@ type PodControllerConfig struct {
ServiceInformer corev1informers.ServiceInformer
}
// NewPodController creates a new pod controller from the provided config
// NewPodController creates a new pod controller with the provided config.
func NewPodController(cfg PodControllerConfig) (*PodController, error) {
if cfg.PodClient == nil {
return nil, errdefs.InvalidInput("missing core client")