From 8a0d423ed849b6c4795dc21aa9c04ba03cf7ea72 Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Mon, 20 May 2019 15:15:05 -0700 Subject: [PATCH] Fix gofmt (#6764) --- builtin/credential/cert/backend_test.go | 4 ++-- command/agent/cert_with_name_end_to_end_test.go | 4 ++-- command/agent/cert_with_no_name_end_to_end_test.go | 4 ++-- physical/mssql/mssql_test.go | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/builtin/credential/cert/backend_test.go b/builtin/credential/cert/backend_test.go index 7facab041..eb063491d 100644 --- a/builtin/credential/cert/backend_test.go +++ b/builtin/credential/cert/backend_test.go @@ -1163,8 +1163,8 @@ func TestBackend_email_singleCert(t *testing.T) { Subject: pkix.Name{ CommonName: "example.com", }, - EmailAddresses: []string{"valid@example.com"}, - IPAddresses: []net.IP{net.ParseIP("127.0.0.1")}, + EmailAddresses: []string{"valid@example.com"}, + IPAddresses: []net.IP{net.ParseIP("127.0.0.1")}, ExtKeyUsage: []x509.ExtKeyUsage{ x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth, diff --git a/command/agent/cert_with_name_end_to_end_test.go b/command/agent/cert_with_name_end_to_end_test.go index 54135b49f..0500dc899 100644 --- a/command/agent/cert_with_name_end_to_end_test.go +++ b/command/agent/cert_with_name_end_to_end_test.go @@ -119,8 +119,8 @@ func testCertWithNameEndToEnd(t *testing.T, ahWrapping bool) { } ahConfig := &auth.AuthHandlerConfig{ - Logger: logger.Named("auth.handler"), - Client: client, + Logger: logger.Named("auth.handler"), + Client: client, EnableReauthOnNewCredentials: true, } if ahWrapping { diff --git a/command/agent/cert_with_no_name_end_to_end_test.go b/command/agent/cert_with_no_name_end_to_end_test.go index e6bb683ca..d6394de37 100644 --- a/command/agent/cert_with_no_name_end_to_end_test.go +++ b/command/agent/cert_with_no_name_end_to_end_test.go @@ -116,8 +116,8 @@ func testCertWithNoNAmeEndToEnd(t *testing.T, ahWrapping bool) { } ahConfig := &auth.AuthHandlerConfig{ - Logger: logger.Named("auth.handler"), - Client: client, + Logger: logger.Named("auth.handler"), + Client: client, EnableReauthOnNewCredentials: true, } if ahWrapping { diff --git a/physical/mssql/mssql_test.go b/physical/mssql/mssql_test.go index 9f682b193..ea723a27c 100644 --- a/physical/mssql/mssql_test.go +++ b/physical/mssql/mssql_test.go @@ -31,7 +31,7 @@ func TestMSSQLBackend(t *testing.T) { if schema == "" { schema = "test" } - + username := os.Getenv("MSSQL_USERNAME") password := os.Getenv("MSSQL_PASSWORD") @@ -83,7 +83,7 @@ func TestMSSQLBackend_schema(t *testing.T) { if schema == "" { schema = "test" } - + username := os.Getenv("MSSQL_USERNAME") password := os.Getenv("MSSQL_PASSWORD") @@ -93,7 +93,7 @@ func TestMSSQLBackend_schema(t *testing.T) { b, err := NewMSSQLBackend(map[string]string{ "server": server, "database": database, - "schema": schema, + "schema": schema, "table": table, "username": username, "password": password,