diff --git a/README.md b/README.md index 546b2829..d59dc59b 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ session, err := r.Connect(r.ConnectOpts{ Database: "test", AuthKey: "14daak1cad13dj", DiscoverHosts: true, -}, "localhost:28015") +}) if err != nil { log.Fatalln(err.Error()) } diff --git a/node.go b/node.go index 25835de9..8f864e59 100644 --- a/node.go +++ b/node.go @@ -191,7 +191,6 @@ type nodeStatus struct { Status string `gorethink:"status"` Network struct { Hostname string `gorethink:"hostname"` - HTTPAdminPort int64 `gorethink:"http_admin_port"` ClusterPort int64 `gorethink:"cluster_port"` ReqlPort int64 `gorethink:"reql_port"` CanonicalAddresses []struct {