diff --git a/main.go b/main.go index 7c9466f..fbbd901 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( ) const toolName = "falafel" -const version = "0.6" +const version = "0.7" var versionString = fmt.Sprintf("%s %s", toolName, version) diff --git a/templates.go b/templates.go index 7c9ee8c..90d31d1 100644 --- a/templates.go +++ b/templates.go @@ -119,7 +119,8 @@ func get{{$lis | UpperCase}}Conn() (*grpc.ClientConn, func(), error) { // Apply any global server options. opts = apply{{$lis | UpperCase}}DialOptions(opts) - address := conn.RemoteAddr().String() + // As address we use "localhost" to mimic a local connection. + address := "localhost" clientConn, err := grpc.Dial(address, opts...) if err != nil { conn.Close()