mirror of
https://github.com/coredns/coredns.git
synced 2026-04-08 04:55:40 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -330,7 +330,7 @@ func (APIConnServiceTest) McEpIndex(string) []*object.MultiClusterEndpoints {
|
||||
return eps
|
||||
}
|
||||
|
||||
func (APIConnServiceTest) GetNodeByName(ctx context.Context, name string) (*api.Node, error) {
|
||||
func (APIConnServiceTest) 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