make go vet happy

This commit is contained in:
Christian Schwarz
2018-09-04 17:25:10 -07:00
parent 52f0c0c33b
commit adab06405b
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func FromConfig(g *config.Global, in config.ConnectEnum) (*ClientFactory, error)
return nil, errRPC
}
config := streamrpc.ClientConfig{connConf}
config := streamrpc.ClientConfig{ConnConfig: connConf}
if err := config.Validate(); err != nil {
return nil, err
}