s/controllerId/controllerID/ to make golint happy.

This commit is contained in:
Kouhei Ueno 2014-07-11 22:08:53 +09:00
parent 628667a2b0
commit e53658a3ed
2 changed files with 4 additions and 4 deletions

View File

@ -38,10 +38,10 @@ type PodRegistry interface {
// ControllerRegistry is an interface for things that know how to store Controllers.
type ControllerRegistry interface {
ListControllers() ([]api.ReplicationController, error)
GetController(controllerId string) (*api.ReplicationController, error)
GetController(controllerID string) (*api.ReplicationController, error)
CreateController(controller api.ReplicationController) error
UpdateController(controller api.ReplicationController) error
DeleteController(controllerId string) error
DeleteController(controllerID string) error
}
// ServiceRegistry is an interface for things that know how to store services.

View File

@ -93,8 +93,8 @@ func (registry *MemoryRegistry) CreateController(controller api.ReplicationContr
return nil
}
func (registry *MemoryRegistry) DeleteController(controllerId string) error {
delete(registry.controllerData, controllerId)
func (registry *MemoryRegistry) DeleteController(controllerID string) error {
delete(registry.controllerData, controllerID)
return nil
}