cmd: remove Connect() due to #16
This commit is contained in:
parent
ec1263db2f
commit
45a56c2115
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user