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