mirror of
https://github.com/coredns/coredns.git
synced 2026-04-07 04:25:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -45,7 +45,7 @@ type Etcd struct {
|
||||
}
|
||||
|
||||
// Services implements the ServiceBackend interface.
|
||||
func (e *Etcd) Services(ctx context.Context, state request.Request, exact bool, opt plugin.Options) (services []msg.Service, err error) {
|
||||
func (e *Etcd) Services(ctx context.Context, state request.Request, exact bool, _opt plugin.Options) (services []msg.Service, err error) {
|
||||
services, err = e.Records(ctx, state, exact)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user