Fix Godoc typos

Signed-off-by: Andy Goldstein <agoldste@redhat.com>
This commit is contained in:
Andy Goldstein 2015-03-09 12:42:23 -04:00 committed by David Lawrence
parent 6a72d1aefb
commit 5c3f53b70f
4 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ func (uic userInfoContext) Value(key interface{}) interface{} {
}
// InitFunc is the type of an AccessController factory function and is used
// to register the contsructor for different AccesController backends.
// to register the constructor for different AccesController backends.
type InitFunc func(options map[string]interface{}) (AccessController, error)
var accessControllers map[string]InitFunc

View File

@ -7,7 +7,7 @@ import (
)
// InitFunc is the type of a RegistryMiddleware factory function and is
// used to register the contsructor for different RegistryMiddleware backends.
// used to register the constructor for different RegistryMiddleware backends.
type InitFunc func(registry distribution.Registry, options map[string]interface{}) (distribution.Registry, error)
var middlewares map[string]InitFunc

View File

@ -7,7 +7,7 @@ import (
)
// InitFunc is the type of a RepositoryMiddleware factory function and is
// used to register the contsructor for different RepositoryMiddleware backends.
// used to register the constructor for different RepositoryMiddleware backends.
type InitFunc func(repository distribution.Repository, options map[string]interface{}) (distribution.Repository, error)
var middlewares map[string]InitFunc

View File

@ -7,7 +7,7 @@ import (
)
// InitFunc is the type of a StorageMiddleware factory function and is
// used to register the contsructor for different StorageMiddleware backends.
// used to register the constructor for different StorageMiddleware backends.
type InitFunc func(storageDriver storagedriver.StorageDriver, options map[string]interface{}) (storagedriver.StorageDriver, error)
var storageMiddlewares map[string]InitFunc