aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/doh/doh.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/pkg/doh/doh.go')
-rw-r--r--plugin/pkg/doh/doh.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/pkg/doh/doh.go b/plugin/pkg/doh/doh.go
index 812b89b1e..68f8d4aaa 100644
--- a/plugin/pkg/doh/doh.go
+++ b/plugin/pkg/doh/doh.go
@@ -50,7 +50,6 @@ func NewRequest(method, url string, m *dns.Msg) (*http.Request, error) {
default:
return nil, fmt.Errorf("method not allowed: %s", method)
}
-
}
// ResponseToMsg converts a http.Response to a dns message.
@@ -72,7 +71,6 @@ func RequestToMsg(req *http.Request) (*dns.Msg, error) {
default:
return nil, fmt.Errorf("method not allowed: %s", req.Method)
}
-
}
// requestToMsgPost extracts the dns message from the request body.