mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-01 01:08:55 +00:00
s/controllerId/controllerID/ to make golint happy.
This commit is contained in:
@@ -38,10 +38,10 @@ type PodRegistry interface {
|
|||||||
// ControllerRegistry is an interface for things that know how to store Controllers.
|
// ControllerRegistry is an interface for things that know how to store Controllers.
|
||||||
type ControllerRegistry interface {
|
type ControllerRegistry interface {
|
||||||
ListControllers() ([]api.ReplicationController, error)
|
ListControllers() ([]api.ReplicationController, error)
|
||||||
GetController(controllerId string) (*api.ReplicationController, error)
|
GetController(controllerID string) (*api.ReplicationController, error)
|
||||||
CreateController(controller api.ReplicationController) error
|
CreateController(controller api.ReplicationController) error
|
||||||
UpdateController(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.
|
// 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (registry *MemoryRegistry) DeleteController(controllerId string) error {
|
func (registry *MemoryRegistry) DeleteController(controllerID string) error {
|
||||||
delete(registry.controllerData, controllerId)
|
delete(registry.controllerData, controllerID)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user