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:
@@ -46,16 +46,16 @@ func (n *Namespace) DeepCopyObject() runtime.Object {
|
||||
func (n *Namespace) GetNamespace() string { return "" }
|
||||
|
||||
// SetNamespace implements the metav1.Object interface.
|
||||
func (n *Namespace) SetNamespace(namespace string) {}
|
||||
func (n *Namespace) SetNamespace(_namespace string) {}
|
||||
|
||||
// GetName implements the metav1.Object interface.
|
||||
func (n *Namespace) GetName() string { return n.Name }
|
||||
|
||||
// SetName implements the metav1.Object interface.
|
||||
func (n *Namespace) SetName(name string) {}
|
||||
func (n *Namespace) SetName(_name string) {}
|
||||
|
||||
// GetResourceVersion implements the metav1.Object interface.
|
||||
func (n *Namespace) GetResourceVersion() string { return n.Version }
|
||||
|
||||
// SetResourceVersion implements the metav1.Object interface.
|
||||
func (n *Namespace) SetResourceVersion(version string) {}
|
||||
func (n *Namespace) SetResourceVersion(_version string) {}
|
||||
|
||||
Reference in New Issue
Block a user