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