mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	Use a pointer config instead
This commit is contained in:
		| @@ -10,7 +10,7 @@ import ( | ||||
| // testHTTPServer creates a test HTTP server that handles requests until | ||||
| // the listener returned is closed. | ||||
| func testHTTPServer( | ||||
| 	t *testing.T, handler http.Handler) (Config, net.Listener) { | ||||
| 	t *testing.T, handler http.Handler) (*Config, net.Listener) { | ||||
| 	ln, err := net.Listen("tcp", "127.0.0.1:0") | ||||
| 	if err != nil { | ||||
| 		t.Fatalf("err: %s", err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Seth Vargo
					Seth Vargo