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