aboutsummaryrefslogtreecommitdiff
path: root/plugin/tls/tls_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-06-25 08:00:33 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2019-06-25 15:00:33 +0800
commitcd176f859b2e71d8919c56ff67235c226ab5b48e (patch)
treee1ee9a8c19d3e198627e289dd998caebfa53bb21 /plugin/tls/tls_test.go
parent123628dc469ec90b2414931988ee27993d2d9648 (diff)
downloadcoredns-cd176f859b2e71d8919c56ff67235c226ab5b48e.tar.gz
coredns-cd176f859b2e71d8919c56ff67235c226ab5b48e.tar.zst
coredns-cd176f859b2e71d8919c56ff67235c226ab5b48e.zip
Run gofmt -s and golint on the codebase (#2918)
* Run gofmt -s and golint on the codebase Run golint and fix everythign it flagged (except the context arg ordering), mostly edits in the rewrite plugin. Signed-off-by: Miek Gieben <miek@miek.nl> * ... and ofcourse the test as well Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/tls/tls_test.go')
-rw-r--r--plugin/tls/tls_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/tls/tls_test.go b/plugin/tls/tls_test.go
index aeef9e6bc..2def130a5 100644
--- a/plugin/tls/tls_test.go
+++ b/plugin/tls/tls_test.go
@@ -50,7 +50,7 @@ func TestTLS(t *testing.T) {
func TestTLSClientAuthentication(t *testing.T) {
// Invalid configurations are tested in the general test case. In this test we only look into specific details of valid client_auth options.
tests := []struct {
- option string // tls plugin option(s)
+ option string // tls plugin option(s)
expectedType tls.ClientAuthType // expected authentication type.
}{
// By default, or if 'nocert' is specified, no cert should be requested.