diff options
author | 2019-02-20 19:12:21 +0700 | |
---|---|---|
committer | 2019-02-20 07:12:21 -0500 | |
commit | e78d9a7893d8f51122f25e396935085bd9afe266 (patch) | |
tree | 57a243b41c09947b049b562bad9a32fcd148307a /plugin/rewrite/class.go | |
parent | 3c23aac2d3433dff062e5f5c7a275b886a3f31cb (diff) | |
download | coredns-e78d9a7893d8f51122f25e396935085bd9afe266.tar.gz coredns-e78d9a7893d8f51122f25e396935085bd9afe266.tar.zst coredns-e78d9a7893d8f51122f25e396935085bd9afe266.zip |
Remove some duplicate worlds (#2582)
Signed-off-by: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Diffstat (limited to 'plugin/rewrite/class.go')
-rw-r--r-- | plugin/rewrite/class.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/rewrite/class.go b/plugin/rewrite/class.go index dceb4429b..6906dcf6c 100644 --- a/plugin/rewrite/class.go +++ b/plugin/rewrite/class.go @@ -29,7 +29,7 @@ func newClassRule(nextAction string, args ...string) (Rule, error) { return &classRule{from, to, nextAction}, nil } -// Rewrite rewrites the the current request. +// Rewrite rewrites the current request. func (rule *classRule) Rewrite(ctx context.Context, state request.Request) Result { if rule.fromClass > 0 && rule.toClass > 0 { if state.Req.Question[0].Qclass == rule.fromClass { |