mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 19:55:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -167,16 +167,16 @@ func (e *Endpoints) DeepCopyObject() runtime.Object {
|
||||
func (e *Endpoints) GetNamespace() string { return e.Namespace }
|
||||
|
||||
// SetNamespace implements the metav1.Object interface.
|
||||
func (e *Endpoints) SetNamespace(namespace string) {}
|
||||
func (e *Endpoints) SetNamespace(_namespace string) {}
|
||||
|
||||
// GetName implements the metav1.Object interface.
|
||||
func (e *Endpoints) GetName() string { return e.Name }
|
||||
|
||||
// SetName implements the metav1.Object interface.
|
||||
func (e *Endpoints) SetName(name string) {}
|
||||
func (e *Endpoints) SetName(_name string) {}
|
||||
|
||||
// GetResourceVersion implements the metav1.Object interface.
|
||||
func (e *Endpoints) GetResourceVersion() string { return e.Version }
|
||||
|
||||
// SetResourceVersion implements the metav1.Object interface.
|
||||
func (e *Endpoints) SetResourceVersion(version string) {}
|
||||
func (e *Endpoints) SetResourceVersion(_version string) {}
|
||||
|
||||
Reference in New Issue
Block a user