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>
This commit is contained in:
parent
123628dc46
commit
cd176f859b
8 changed files with 72 additions and 69 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue