From 0b919f4fd23fef458ef12467c81c1a27a704f2e7 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Sat, 10 Sep 2016 20:46:12 -0400 Subject: [PATCH] proxy: nil -> nilapp --- proxy/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/client.go b/proxy/client.go index 5e40f856..ea3218d3 100644 --- a/proxy/client.go +++ b/proxy/client.go @@ -54,6 +54,7 @@ func NewRemoteClientCreator(addr, transport string, mustConnect bool) ClientCrea func (r *remoteClientCreator) NewTMSPClient() (tmspcli.Client, error) { // Run forever in a loop + fmt.Println("ADDR", r.addr, r.transport) remoteApp, err := tmspcli.NewClient(r.addr, r.transport, r.mustConnect) if err != nil { return nil, fmt.Errorf("Failed to connect to proxy: %v", err) @@ -71,7 +72,7 @@ func DefaultClientCreator(config cfg.Config) ClientCreator { switch addr { case "dummy": return NewLocalClientCreator(dummy.NewDummyApplication()) - case "nil": + case "nilapp": return NewLocalClientCreator(nilapp.NewNilApplication()) default: mustConnect := true