mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
auto go fmt
This commit is contained in:
@@ -266,7 +266,9 @@ func (rule *substringNameRule) Mode() string { return rule.NextAction }
|
|||||||
func (rule *regexNameRule) Mode() string { return rule.NextAction }
|
func (rule *regexNameRule) Mode() string { return rule.NextAction }
|
||||||
|
|
||||||
// GetResponseRules returns rules to rewrite the response with. Currently not implemented.
|
// GetResponseRules returns rules to rewrite the response with. Currently not implemented.
|
||||||
func (rule *exactNameRule) GetResponseRules() []ResponseRule { return []ResponseRule{rule.ResponseRule} }
|
func (rule *exactNameRule) GetResponseRules() []ResponseRule {
|
||||||
|
return []ResponseRule{rule.ResponseRule}
|
||||||
|
}
|
||||||
|
|
||||||
// GetResponseRules returns rules to rewrite the response with. Currently not implemented.
|
// GetResponseRules returns rules to rewrite the response with. Currently not implemented.
|
||||||
func (rule *prefixNameRule) GetResponseRules() []ResponseRule { return []ResponseRule{} }
|
func (rule *prefixNameRule) GetResponseRules() []ResponseRule { return []ResponseRule{} }
|
||||||
|
|||||||
Reference in New Issue
Block a user