cmd: remove Connect() due to #16

This commit is contained in:
Christoph Polcin 2018-07-13 12:11:56 +02:00
parent ec1263db2f
commit 45a56c2115

View File

@ -50,9 +50,6 @@ func main() {
} }
c := d.NewClient(*root, *usr, *pw) c := d.NewClient(*root, *usr, *pw)
if err := c.Connect(); err != nil {
fail(fmt.Sprintf("Failed to connect due to: %s", err.Error()))
}
cmd := getCmd(*method) cmd := getCmd(*method)