Add Gocritic
This also fixes the issues laid out by gocritic
This commit is contained in:
@@ -46,7 +46,7 @@ const (
|
||||
//
|
||||
// Note: Implementers can choose to manage a node themselves, in which case
|
||||
// it is not needed to provide an implementation for this interface.
|
||||
type NodeProvider interface { //nolint:golint
|
||||
type NodeProvider interface {
|
||||
// Ping checks if the node is still active.
|
||||
// This is intended to be lightweight as it will be called periodically as a
|
||||
// heartbeat to keep the node marked as ready in Kubernetes.
|
||||
|
||||
Reference in New Issue
Block a user