mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-30 15:02:23 +00:00
s/controllerId/controllerID/ to make golint happy.
This commit is contained in:
parent
628667a2b0
commit
e53658a3ed
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user