From f93289142859ba66c000d7b1647498d0e555894a Mon Sep 17 00:00:00 2001 From: Kouhei Ueno Date: Sat, 12 Jul 2014 13:21:48 +0900 Subject: [PATCH] removes a comment on New and a typo fix --- pkg/registry/controller_registry.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/registry/controller_registry.go b/pkg/registry/controller_registry.go index a43fc51fd57..ae59cd37ec0 100644 --- a/pkg/registry/controller_registry.go +++ b/pkg/registry/controller_registry.go @@ -33,7 +33,6 @@ type ControllerRegistryStorage struct { pollPeriod time.Duration } -// NewControllerRegistryStorage creates a new NewControllerRegistryStorage instance. func NewControllerRegistryStorage(registry ControllerRegistry, podRegistry PodRegistry) apiserver.RESTStorage { return &ControllerRegistryStorage{ registry: registry, @@ -97,7 +96,7 @@ func (storage *ControllerRegistryStorage) Create(obj interface{}) (<-chan interf }), nil } -// Update replaces a given ReplicationController instance with an existing instnace in storage.registry. +// Update replaces a given ReplicationController instance with an existing instance in storage.registry. func (storage *ControllerRegistryStorage) Update(obj interface{}) (<-chan interface{}, error) { controller, ok := obj.(api.ReplicationController) if !ok {