mirror of
https://github.com/coredns/coredns.git
synced 2026-04-10 14:05:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -137,7 +137,7 @@ func (APIConnReverseTest) EpIndexReverse(ip string) []*object.Endpoints {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (APIConnReverseTest) GetNodeByName(ctx context.Context, name string) (*api.Node, error) {
|
||||
func (APIConnReverseTest) GetNodeByName(_ctx context.Context, _name string) (*api.Node, error) {
|
||||
return &api.Node{
|
||||
ObjectMeta: meta.ObjectMeta{
|
||||
Name: "test.node.foo.bar",
|
||||
|
||||
Reference in New Issue
Block a user